shoestrap/assets/default/mac-bin/dnd_mode_deactivate

7 lines
261 B
Plaintext
Raw Permalink Normal View History

2021-06-09 01:25:54 +00:00
#! /bin/bash
defaults -currentHost write ~/Library/Preferences/ByHost/com.apple.notificationcenterui doNotDisturb -bool false
defaults -currentHost delete ~/Library/Preferences/ByHost/com.apple.notificationcenterui doNotDisturbDate
killall NotificationCenter