GithubHelp home page GithubHelp logo

ppourmand / do-not-disturb-snooze Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.05 MB

Enables DND for either 30 minutes or 1 hour, then disables

License: MIT License

Swift 97.21% AppleScript 2.79%
macos dnd do-not-disturb

do-not-disturb-snooze's Introduction

How to use

Navigate to releases on Github, download the .zip and run the .app. Enable accessibility permissions for the application.

How it works

Really jankily uses osascript to option+click the notification center on the menu bar to enable do-not-disturb. If I ever figure out a better way of doing it I'll fix it (feel free to open a PR that does it nicer, though)

do-not-disturb-snooze's People

Contributors

ppourmand avatar

Watchers

 avatar

do-not-disturb-snooze's Issues

Manually disabling dnd

if you enable dnd within the app, then disable in notification center, you can't re-enable within the app. I also suspect the timer is still running

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.