https://github.com/johno/do-not-disturb
Turn on do not disturb mode for OS X
https://github.com/johno/do-not-disturb
Last synced: 12 months ago
JSON representation
Turn on do not disturb mode for OS X
- Host: GitHub
- URL: https://github.com/johno/do-not-disturb
- Owner: johno
- License: mit
- Created: 2015-09-23T20:27:40.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-03-14T14:29:57.000Z (over 8 years ago)
- Last Synced: 2025-06-28T12:22:48.389Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 16.6 KB
- Stars: 15
- Watchers: 3
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# do-not-disturb [](https://travis-ci.org/johno/do-not-disturb)
Toggle do not disturb mode for OS X
## CLI
```bash
$ npm i -g do-not-disturb
```
```bash
$ 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`:

## API
```bash
$ npm install --save do-not-disturb
```
```javascript
const doNotDisturb = require('do-not-disturb');
doNotDisturb.on();
doNotDisturb.off();
// Or check the state of do not disturb mode
doNotDisturb
.status()
.then(console.log);
```
## License
MIT
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
Crafted with <3 by John Otander ([@4lpine](https://twitter.com/4lpine)).
***
> This package was initially generated with [yeoman](http://yeoman.io) and the [p generator](https://github.com/johnotander/generator-p.git).