macOS implementations of various commands in the "desktop" interface
Get the output volume (range 0 to 100)
CLI Example:
salt '*' desktop.get_output_volume
Lock the desktop session
CLI Example:
salt '*' desktop.lock
Say some words.
The words to execute the say command with.
CLI Example:
salt '*' desktop.say <word0> <word1> ... <wordN>
Launch the screensaver.
CLI Example:
salt '*' desktop.screensaver
Set the volume of sound.
The level of volume. Can range from 0 to 100.
CLI Example:
salt '*' desktop.set_output_volume <volume>