linux: Use 'Normal' priority for DBus notifications (#7555)
When urgency is set to critical, both KDE and GNOME ignore the duration/lifetime of the notification and it never closes on its own. ref: #489
This commit is contained in:
1 parent
bf0747f4af
commit
e925e0b879
1 file changed
+1
-1
@@ -102,7 +102,7 @@ async fn show_notif_impl(notif: ToastNotification) -> Result<(), Box<dyn std::er
|
||||
}
|
||||
|
||||
let mut hints = HashMap::new();
|
||||
hints.insert("urgency", Value::U8(2 /* Critical */));
|
||||
hints.insert("urgency", Value::U8(1 /* Normal */));
|
||||
let notification = proxy
|
||||
.notify(
|
||||
"wezterm",
|
||||
|
||||
Reference in new issue
Block a user