show/hide MacOS desktop
Project description
Install
$ [sudo] pip install mac-desktop
Functions
function | __doc__ |
---|---|
mac_desktop.toggle() |
toggle Desktop (show/hide) |
mac_desktop.visibility() |
return Desktop visibility percentage (0..1) |
CLI
usage | __doc__ |
---|---|
python -m mac_desktop.toggle |
toggle Desktop (show/hide) |
python -m mac_desktop.visibility |
print Desktop visibility percentage (0..1) |
Examples
>>> import mac_desktop
>>> if mac_desktop.visibility()<0.7: # Desktop hidden?
... mac_desktop.toggle() # show Desktop
readme-md - README.md generator
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
mac-desktop-2019.2.28.tar.gz
(1.7 kB
view hashes)
Built Distribution
Close
Hashes for mac_desktop-2019.2.28-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af10275f020e53aebf09e79de7e4f8b3be01a50e3fa67174c1b1d9062ceea5ab |
|
MD5 | cc6dd169417e1a5f930dd507c1dc5c88 |
|
BLAKE2b-256 | a26acfdc0a648d5f5c5a390585820042d096e6a9961feda1c5bcc01cbb9646c2 |