Stop notifications temporarily from popping up and then resume them later. All notifications during this time should be popped up when I resume notifications. I can do pgrep dunst | xargs kill
to stop and then later manually restart it, but then I lose all my notifications in the mid time. Mainly helpful when doing a screenshare.
Is there any way to achieve this behavior? Please help.
v1.4.1-8-g9e29406
apt install dunst
Kubuntu 20.04
You can use notify-send "DUNST_COMMAND_TOGGLE"
to toggle the display of notifications. Received notifications during the pause will be displayed afterwards.
The other options are:
DUNST_COMMAND_RESUME
Oh thanks, that helps :smile:
And with the latest dunst release (1.5.0) there is a dedicated command/helper script for such cases: dunstctl
Ah nice! Thanks, I didn't know that one either. Now I can finally check for current status!
Most helpful comment
And with the latest dunst release (1.5.0) there is a dedicated command/helper script for such cases:
dunstctl