Git Product home page Git Product logo

alfred-do-not-disturb's Introduction

alfred-do-not-disturb Build Status

Alfred 3 workflow to control the macOS Do Not Disturb feature

Install

$ npm install --global alfred-do-not-disturb

Usage

In Alfred, type Do Not Disturb, Enter, and type on, off, toggle or status.

When your desired task shows and press Enter to call.

Related

Graphics

License

MIT © alonalon

alfred-do-not-disturb's People

Contributors

hafffe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

benlaverriere

alfred-do-not-disturb's Issues

Failed to install package

Hi, I'm trying to follow installation instructions, but getting an error:

➜ npm install --global alfred-do-not-disturb

> [email protected] postinstall /usr/local/lib/node_modules/alfred-do-not-disturb
> alfy-init

Error: Command failed: alfred-link
Error: Alfred preferences not found at location /Users/denis/Library/Preferences/com.runningwithcrayons.Alfred-Preferences-3.plist
    at /usr/local/lib/node_modules/alfred-do-not-disturb/node_modules/resolve-alfred-prefs/index.js:15:10


    at /usr/local/lib/node_modules/alfred-do-not-disturb/node_modules/alfy/node_modules/execa/index.js:236:11
    at processTicksAndRejections (internal/process/task_queues.js:93:5) {
  code: 1,
  killed: false,
  stdout: '',
  stderr: 'Error: Alfred preferences not found at location /Users/denis/Library/Preferences/com.runningwithcrayons.Alfred-Preferences-3.plist\n' +
    '    at /usr/local/lib/node_modules/alfred-do-not-disturb/node_modules/resolve-alfred-prefs/index.js:15:10\n',
  failed: true,
  signal: null,
  cmd: 'alfred-link',
  timedOut: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `alfy-init`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.

System packages:

➜ node --version
v14.10.1
➜ npm --version
6.14.8

Use inputMatches

Use alfy inputMatches instead of switch statement, to better get right option when starting to write.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.