1
0
mirror of https://github.com/ViViDboarder/shoestrap.git synced 2025-01-06 18:57:40 +00:00
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