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 August 05, 2021 at 04:04:00 UTC.
You are viewing docs for the previous stable release, 3000.9. Switch to docs for the latest stable release, 3003.1, or to a recent doc build from the master branch.
© 2021 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy