Skip to content
/ dnd Public

Control macOS notification "Do Not Disturb" settings from the command line.

Notifications You must be signed in to change notification settings

joeyhoer/dnd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

DND

dnd control macOS notification "Do Not Disturb" settings from the command line.

DND uses AppleScript to control System Events. For this to work, your terminal application must be allowed to "control your computer" via Accessibility preferences configured in the "Privacy" tab of the System Preferences.

Installation

Download the dnd script and make it available in your PATH.

curl -o /usr/local/bin/dnd -O https://raw.githubusercontent.com/joeyhoer/dnd/master/dnd.sh && \
chmod +x /usr/local/bin/dnd

Example

# Enable Do Not Disturb
dnd on

About

Control macOS notification "Do Not Disturb" settings from the command line.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages