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:
Eduard Korchmar authored and GitHub committed 2026-11-20 04:45:22 +01:00
1 parent bf0747f4af
commit e925e0b879
1 file changed
+1 -1
+1 -1
View File
@@ -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",