# salt.modules.mac_desktop

macOS implementations of various commands in the "desktop" interface

salt.modules.mac_desktop.get_output_volume()

  Get the output volume (range 0 to 100)

  CLI Example:

      salt '*' desktop.get_output_volume

salt.modules.mac_desktop.lock()

  Lock the desktop session

  CLI Example:

      salt '*' desktop.lock

salt.modules.mac_desktop.say(*words)

  Say some words.

  words

    The words to execute the say command with.

  CLI Example:

      salt '*' desktop.say <word0> <word1> ... <wordN>

salt.modules.mac_desktop.screensaver()

  Launch the screensaver.

  CLI Example:

      salt '*' desktop.screensaver

salt.modules.mac_desktop.set_output_volume(volume)

  Set the volume of sound.

  volume

    The level of volume. Can range from 0 to 100.

  CLI Example:

      salt '*' desktop.set_output_volume <volume>