/do-not-disturb

Primary LanguageJavaScriptMIT LicenseMIT

do-not-disturb Build Status

Toggle do not disturb mode for OS X

CLI

$ 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:

h4ixljc8p5u7wpaidv7ynwrbvlifzonor7gxg-fdn7e

API

$ npm install --save do-not-disturb
var doNotDisturb = require('do-not-disturb')

doNotDisturb(function () {
  console.log('Do not disturb has been toggled')
})

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).


This package was initially generated with yeoman and the p generator.