Open vrde opened 4 years ago
If you use dunst
as your notification server then it seems trivial:
To disable dunst temporarily there are two options.
Send a special notification Use notify-send "DUNST_COMMAND_PAUSE" to disable and notify-send "DUNST_COMMAND_RESUME" to reenable.
Use killall Use killall -SIGUSR1 dunst to disable and killall -SIGUSR2 dunst to reenable
Once paused dunst will hold back all notifications. After enabling dunst again all held back notifications will be displayed.
More info about Ubuntu: https://askubuntu.com/questions/472220/change-notification-daemon-on-14-04
Problem
Quiet mode is not quiet if user gets distracted by notifications.
Solution
Find a way to disable notifications while user is in the user is in the quiet workspace.