From 47c5a41aa6d04b5417680163ca1129b8e978e9b5 Mon Sep 17 00:00:00 2001 From: Javier Rolando Date: Sat, 26 Jul 2025 20:49:04 -0300 Subject: [PATCH] fix empty notifications --- .config/quickshell/ii/services/Notifications.qml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.config/quickshell/ii/services/Notifications.qml b/.config/quickshell/ii/services/Notifications.qml index 446abeff..bf5d4e78 100644 --- a/.config/quickshell/ii/services/Notifications.qml +++ b/.config/quickshell/ii/services/Notifications.qml @@ -34,11 +34,9 @@ Singleton { property string urgency: notification?.urgency.toString() ?? "normal" property Timer timer - readonly property Connections conn: Connections { - target: wrapper?.notification?.Component ?? root // stupid warning aaaaaaa - - function onDestruction(): void { - wrapper.destroy(); + onNotificationChanged: { + if (notification === null) { + root.discardNotification(notificationId); } } }