shoestrap/assets/default/mac-bin/dnd_mode_activate
2021-06-08 18:25:54 -07:00

7 lines
275 B
Bash
Executable File

#! /bin/bash
defaults -currentHost write ~/Library/Preferences/ByHost/com.apple.notificationcenterui doNotDisturb -bool true
defaults -currentHost write ~/Library/Preferences/ByHost/com.apple.notificationcenterui doNotDisturbDate -date "$(date)"
killall NotificationCenter