macOS screensaver commands
Installation
$ [sudo] npm i -g mac-screensaver
Scripts usage
command | usage |
---|---|
screensaver |
usage: screensaver command [args] |
screensaver-name |
usage: screensaver-name |
screensaver-names |
usage: screensaver-names |
screensaver-pid |
usage: screensaver-pid |
screensaver-start |
usage: screensaver-start |
screensaver-stop |
usage: screensaver-stop |
screensaver-wait |
usage: screensaver-wait |
Examples
$ screensaver start$ screensaver pid1488$ screensaver stop
$ screensaver nameiLifeSlideshows$ screensaver namesRandomFlurryArabesqueWord of the DayiTunes ArtworkComputer NameShellFloatingMessageiLifeSlideshows
wait while screensaver is active
$ screensaver start$ screensaver wait