From c725284acb1cd7a5f5934b71d8840123bedf306a Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Tue, 17 Jun 2025 09:51:06 +0200 Subject: [PATCH] notifications: discard dead notif on action --- .config/quickshell/services/Notifications.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/quickshell/services/Notifications.qml b/.config/quickshell/services/Notifications.qml index 75033292c..dc2d2206d 100644 --- a/.config/quickshell/services/Notifications.qml +++ b/.config/quickshell/services/Notifications.qml @@ -217,8 +217,10 @@ Singleton { const action = notifServerNotif.actions.find((action) => action.identifier === notifIdentifier); action.invoke() } - // else console.log("Notification not found in server: " + id) - // root.discard(id); + else { + console.log("Notification not found in server: " + id) + root.discardNotification(id); + } } function triggerListChange() {