summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/shell/quickshell/Services
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2025-09-13 17:26:41 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2025-09-13 17:26:41 +0200
commitf9810413c6aff247b63d8321812a98f204eb0b49 (patch)
tree8dfaa614c50b6aebdb1048a4718491676fa0734a /accounts/gkleen@sif/shell/quickshell/Services
parent3ce3fe19b11e30fd98d7eee06d56b90ae33b228d (diff)
downloadnixos-f9810413c6aff247b63d8321812a98f204eb0b49.tar
nixos-f9810413c6aff247b63d8321812a98f204eb0b49.tar.gz
nixos-f9810413c6aff247b63d8321812a98f204eb0b49.tar.bz2
nixos-f9810413c6aff247b63d8321812a98f204eb0b49.tar.xz
nixos-f9810413c6aff247b63d8321812a98f204eb0b49.zip
...
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/Services')
-rw-r--r--accounts/gkleen@sif/shell/quickshell/Services/NotificationManager.qml4
1 files changed, 3 insertions, 1 deletions
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
7Singleton { 7Singleton {
8 id: root 8 id: root
9 9
10 readonly property bool active: !lockscreenActive && !displayInhibited
11 property bool lockscreenActive: false
10 property bool displayInhibited: false 12 property bool displayInhibited: false
11 property alias trackedNotifications: server.trackedNotifications 13 property alias trackedNotifications: server.trackedNotifications
12 readonly property var groups: { 14 readonly property var groups: {
@@ -68,7 +70,7 @@ Singleton {
68 required property int expirationTime 70 required property int expirationTime
69 property list<QtObject> data: [ 71 property list<QtObject> data: [
70 Timer { 72 Timer {
71 running: !root.displayInhibited 73 running: root.active
72 interval: timer.expirationTime 74 interval: timer.expirationTime
73 onTriggered: timer.parent.expire() 75 onTriggered: timer.parent.expire()
74 } 76 }