From 02ced4b87ba47cd2b3490bc37e2234ef3d33e967 Mon Sep 17 00:00:00 2001 From: bbedward Date: Mon, 22 Jun 2026 15:03:49 -0400 Subject: [PATCH] notifications: expireTimeout already comes in miliseconds --- quickshell/Services/NotificationService.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/quickshell/Services/NotificationService.qml b/quickshell/Services/NotificationService.qml index 6af94fe2..b26d0305 100644 --- a/quickshell/Services/NotificationService.qml +++ b/quickshell/Services/NotificationService.qml @@ -771,11 +771,10 @@ Singleton { interval: { if (!wrapper.notification) return 5000; - // Honor an app-specified expire timeout (seconds); -1 means the - // app deferred to the server, so fall back to our per-urgency settings. + // expireTimeout is in milliseconds; -1 defers to our settings. const appTimeout = wrapper.notification.expireTimeout; if (appTimeout >= 0) - return Math.round(appTimeout * 1000); + return Math.round(appTimeout); switch (wrapper.urgency) { case NotificationUrgency.Low: return SettingsData.notificationTimeoutLow;