Closed mildred closed 1 year ago
This is apparently by design, urgent notifications are displayed even if there is DND set:
And for some reason I could not always load my configuration file, probably because when dbus-activated, the path to my configuration file was not taken. The correct configuration file path is ~/.config/swaync/config.json
(with the .json extension) and then it will always be picked up.
Yeah. It's in the spec that urgent notifications should always be displayed to the user.
What config location were you using?
I was using ~/.config/swaync/config
instead and of course when swaync was executed by dBus it would not pick it up.
The problem wit hthis spec is that the application might not correctly set the urgency of the different notifications, it should be overridable by the user.
Describe the bug
After activating the Do Not Disturb mode, notification keep showing
To Reproduce
notify-send -u critical Foo
Expected behavior Notification should not show up
Please provide logs if you're experiencing notification errors / bugs Nothing, I don't know how to get the details about a notification with swaync-client or is that possible. I believe the telegram notification have a critical urgency because the notification do not auto hide with default config (well, that's ~another issue and~ the reason why I enabled the DND mode in the first place).
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context ~The notification do not hide either despite a
"timeout-critical": 5,
in the settings~