Turn on do not disturb mode for OS X
MIT License
Toggle do not disturb mode for OS X
$ npm i -g do-not-disturb
$ do-not-disturb --help
Usage
do-not-disturb
Note: If you haven't already, you will need to give your Terminal.app the ability to control your computer. In System Preferences > Security & Privacy
:
$ npm install --save do-not-disturb
const doNotDisturb = require('do-not-disturb');
doNotDisturb.on();
doNotDisturb.off();
// Or check the state of do not disturb mode
doNotDisturb
.status()
.then(console.log);
MIT
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)Crafted with <3 by John Otander (@4lpine).
This package was initially generated with yeoman and the p generator.