diff --git a/quickshell/DataSources/Notifications.qml b/quickshell/DataSources/Notifications.qml index 323e5d1a..e8507ad2 100644 --- a/quickshell/DataSources/Notifications.qml +++ b/quickshell/DataSources/Notifications.qml @@ -23,10 +23,11 @@ Singleton { for (const notification of notificationServer.trackedNotifications.values) { notification.tracked = false; } + list.length = 0; } // TODO: use signal - property list list: notificationServer.trackedNotifications.values.filter(notification => notification.tracked) + property list list: notificationServer.trackedNotifications.values.filter(notification => notification.tracked).reverse() signal notification(Notification notification) IpcHandler {