Settings Actions

Table of contents

  1. Set Stage Manager
  2. Toggle Stage Manager
  3. Appearance
    1. Set Appearance to Dark
    2. Set Appearance to Light
    3. Toggle Appearance
  4. Device
    1. Set Brightness
    2. Set Volume
  5. Display
    1. Set Night Shift
    2. Set True Tone
    3. Toggle Night Shift
    4. Toggle True Tone
  6. Notifications
    1. Get Focus Mode
    2. Set Focus Mode
    3. Toggle Do Not Disturb
    4. Toggle Focus Mode
    5. Turn Off Do Not Disturb
    6. Turn On Do Not Disturb
  7. Wallpaper
    1. Get Wallpaper
    2. Get Wallpapers
    3. Set Wallpaper
  8. Wireless
    1. Set Bluetooth
    2. Set Cellular Data
    3. Set Wifi
    4. Toggle Bluetooth
    5. Toggle Cellular Data
    6. Toggle Wifi

To use actions in this category, use this include statement:

#include 'actions/settings'

Set Stage Manager

setStageManager(bool status, bool ?showDock = true, bool ?showRecentApps = true)

Toggle Stage Manager

toggleStageManager(bool ?showDock = true, bool ?showRecentApps = true)

Appearance

Set Appearance to Dark

darkMode()

Set Appearance to Light

lightMode()

Toggle Appearance

toggleAppearance()

Device

Set Brightness

setBrightness(float brightness)

Set Volume

setVolume(float volume)

Display

Set Night Shift

setNightShift(bool status)

Set True Tone

setTrueTone(bool status)

Toggle Night Shift

toggleNightShift()

Toggle True Tone

toggleTrueTone()

Notifications

Get Focus Mode

Get the current Focus Mode.

getFocusMode()

Set Focus Mode

Set a default focus mode on or off. If setting to on, optionally set until with optional arguments for time or event.

enum focusModes {
    'Do Not Disturb',
    'Personal',
    'Work',
    'Sleep',
    'Driving',
}

enum focusUntil {
    'Turned Off',
    'Time',
    'I Leave',
    'Event Ends',
}

setFocusMode(focusModes ?focusMode = "Do Not Disturb", focusUntil ?until = "Turned Off", text ?time, variable ?event)

Toggle Do Not Disturb

toggleDND()

Toggle Focus Mode

Toggle a focus mode.

enum focusModes {
    'Do Not Disturb',
    'Personal',
    'Work',
    'Sleep',
    'Driving',
}

toggleFocusMode(focusModes ?focusMode = "Do Not Disturb")

Turn Off Do Not Disturb

DNDOff()

Turn On Do Not Disturb

DNDOn()

Wallpaper

Get Wallpaper

Get current device wallpaper.

getWallpaper()

Get Wallpapers

Get device wallpapers.

getAllWallpapers(): array

Set Wallpaper

Sets the device wallpaper to input.

setWallpaper(variable input)

Wireless

Set Bluetooth

setBluetooth(bool status)

Set Cellular Data

setCellularData(bool status)

Set Wifi

setWifi(bool status)

Toggle Bluetooth

toggleBluetooth()

Toggle Cellular Data

toggleCellularData()

Toggle Wifi

toggleWifi()

Copyright ©. Distributed under the GPL-2.0 License. Siri Shortcuts and Mac are registered trademarks of Apple Inc. Apple is not involved in this project in any way. Do not contact Apple Support unless you are having an issue with the Shortcuts app itself.