Turn Do Not Disturb on or off on macOS.
- Install calm-notifications
brew install vitorgalvao/tiny-scripts/calm-notifications
- Connect a script
Load do-not-disturb-on.sh
to turn Do Not Disturb on and do-not-disturb-off.sh
to turn Do Not Disturb off. Run them with the command bash
followed by the file path.
Alternatively, to turn Do Not Disturb on, run the command:
calm-notifications on
To turn Do Not Disturb off:
calm-notifications off