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.
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.
The level of volume. Can range from 0 to 100.
CLI Example:
salt '*' desktop.set_output_volume <volume>
Generated on February 03, 2020 at 00:04:54 UTC.
You are viewing docs for the previous stable release, 2018.3.5. Switch to docs for the latest stable release, 2019.2.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy