From 048efdb10e2d6bfcaa09620ef3133ef2bde1959c Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 17 May 2026 12:27:44 +0200 Subject: [PATCH] Tweak urgencies --- .../omarchy-shell/plugins/notifications/Service.qml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/default/quickshell/omarchy-shell/plugins/notifications/Service.qml b/default/quickshell/omarchy-shell/plugins/notifications/Service.qml index eb6b9cee..b81e2eea 100644 --- a/default/quickshell/omarchy-shell/plugins/notifications/Service.qml +++ b/default/quickshell/omarchy-shell/plugins/notifications/Service.qml @@ -118,9 +118,14 @@ Item { readonly property int historyCap: 100 function durationFor(urgency) { - if (urgency === NotificationUrgency.Critical) return 0 - if (urgency === NotificationUrgency.Low) return 3000 - return 6000 + switch (urgency) { + case NotificationUrgency.Critical: + return 0 + case NotificationUrgency.Low: + return 3000 + default: + return 5000 + } } // DND bypass: only let through notifications we trust to be intentional