dunst-project / dunst

Lightweight and customizable notification daemon
https://dunst-project.org
Other
4.42k stars 338 forks source link

Feature request: notification snoozing #1304

Open sersorrel opened 4 months ago

sersorrel commented 4 months ago

Something I often find myself wanting to do is get a notification out of the way for the time being, but not lose sight of the fact that I have a notification that I haven't properly dealt with yet. Maybe I could hack together some script to increment a counter when notifications arrive and decrement the counter when I dismiss them, and have a keyboard shortcut for "hide for now" which hides the notification but doesn't decrement the counter (and then I could display the counter in bright red in my status bar if it's nonzero or something) – but the issue I can't really work around is that dunstctl context doesn't work on notifications pulled from history, so any snoozed notification would lose its attached actions.

Is there any way dunst could help solve this?

bynect commented 4 months ago

So you basically want to hide a notification and reschedule it after some time? I am not sure we can do that at the moment but it would be a cool feature indeed

matejdro commented 3 months ago

Maybe you can pause instead of dismiss? Then unpause it when you want to unsnooze.

sersorrel commented 3 months ago

That's kind of what I want, but on a per-notification basis – I don't want to miss some important "your house is on fire" notification just because I paused notifications to get rid of a "remember to water the plants" message.

(I realised what I actually want is a notification daemon that treats notifications like Android treats them, which is a substantial departure from how dunst works and is probably not feasible, so I've mentally added "write a notification daemon" to my list of rainy-day projects...)

bynect commented 3 months ago

That's kind of what I want, but on a per-notification basis – I don't want to miss some important "your house is on fire" notification just because I paused notifications to get rid of a "remember to water the plants" message.

you can set a pause level, so that you filter only low importance notifications to your discretion. it is a fairly new feature, so maybe you should try the latest versions