detect if headphones are plugged
Project description
Installation
$ [sudo] pip install mac-headphones
Scripts usage
command | usage |
---|---|
headphones |
usage: headphones |
Examples
plugged:
$ headphones
1
not plugged:
$ headphones
0
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.