salt.modules.osxdesktop

Mac OS X implementations of various commands in the "desktop" interface

salt.modules.osxdesktop.get_output_volume()

Get the output volume (range 0 to 100)

CLI Example:

salt '*' desktop.get_output_volume
salt.modules.osxdesktop.lock()

Lock the desktop session

CLI Example:

salt '*' desktop.lock
salt.modules.osxdesktop.say(*words)

Say some words.

CLI Example:

salt '*' desktop.say <word0> <word1> ... <wordN>
salt.modules.osxdesktop.screensaver()

Launch the screensaver

CLI Example:

salt '*' desktop.screensaver
salt.modules.osxdesktop.set_output_volume(volume)

Set the volume of sound (range 0 to 100)

CLI Example:

salt '*' desktop.set_output_volume <volume>