MacOS screensaver
Project description
Installation
$ [sudo] pip install mac-screensaver
Functions
function | __doc__ |
---|---|
mac_screensaver.names() |
return a list of screensavers names |
mac_screensaver.preferences.clock() |
return True if "Show with clock" enabled, else False |
mac_screensaver.preferences.idle() |
return screensaver idle time in seconds. 0 if disabled |
Examples
>>> mac_screensaver.start()
>>> mac_screensaver.pid()
1488
>>> mac_screensaver.stop()
>>> mac_screensaver.names()
['Random', 'Flurry', 'Arabesque', 'Word of the Day', 'iTunes Artwork', 'Computer Name', 'Shell', 'FloatingMessage', 'iLifeSlideshows']
>>> mac_screensaver.name() # current name
'iLifeSlideshows'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for mac-screensaver-2019.4.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f85b8e504f8b4825677d8e791018acf1771cd186780103ea52ef0155529e662 |
|
MD5 | 17baf0e6133e41f822976166ba74e229 |
|
BLAKE2b-256 | 91262b2facfe76b74fed1c2fabc5534caeb30897fa3acd65aaa6c38bc3e470d5 |