From f9810413c6aff247b63d8321812a98f204eb0b49 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 13 Sep 2025 17:26:41 +0200 Subject: ... --- accounts/gkleen@sif/shell/quickshell/Services/NotificationManager.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'accounts/gkleen@sif/shell/quickshell/Services') diff --git a/accounts/gkleen@sif/shell/quickshell/Services/NotificationManager.qml b/accounts/gkleen@sif/shell/quickshell/Services/NotificationManager.qml index 2199ccdf..001ffcf5 100644 --- a/accounts/gkleen@sif/shell/quickshell/Services/NotificationManager.qml +++ b/accounts/gkleen@sif/shell/quickshell/Services/NotificationManager.qml @@ -7,6 +7,8 @@ import Quickshell.Services.Notifications Singleton { id: root + readonly property bool active: !lockscreenActive && !displayInhibited + property bool lockscreenActive: false property bool displayInhibited: false property alias trackedNotifications: server.trackedNotifications readonly property var groups: { @@ -68,7 +70,7 @@ Singleton { required property int expirationTime property list data: [ Timer { - running: !root.displayInhibited + running: root.active interval: timer.expirationTime onTriggered: timer.parent.expire() } -- cgit v1.2.3