summaryrefslogtreecommitdiff
path: root/accounts
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2025-09-14 16:21:59 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2025-09-14 16:21:59 +0200
commit48a169afd72c63e8f7c0a896b51150c3e3db2ff3 (patch)
tree8f579a97884e704df3a33bb71b89951cc4fef248 /accounts
parent51807ffc90d4172695c68079b7640089c669796d (diff)
downloadnixos-48a169afd72c63e8f7c0a896b51150c3e3db2ff3.tar
nixos-48a169afd72c63e8f7c0a896b51150c3e3db2ff3.tar.gz
nixos-48a169afd72c63e8f7c0a896b51150c3e3db2ff3.tar.bz2
nixos-48a169afd72c63e8f7c0a896b51150c3e3db2ff3.tar.xz
nixos-48a169afd72c63e8f7c0a896b51150c3e3db2ff3.zip
...
Diffstat (limited to 'accounts')
-rw-r--r--accounts/gkleen@sif/shell/quickshell/Services/NotificationManager.qml9
1 files changed, 7 insertions, 2 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/Services/NotificationManager.qml b/accounts/gkleen@sif/shell/quickshell/Services/NotificationManager.qml
index b60e4177..c0e9458e 100644
--- a/accounts/gkleen@sif/shell/quickshell/Services/NotificationManager.qml
+++ b/accounts/gkleen@sif/shell/quickshell/Services/NotificationManager.qml
@@ -68,11 +68,16 @@ Singleton {
68 68
69 required property QtObject parent 69 required property QtObject parent
70 required property int expirationTime 70 required property int expirationTime
71 property bool expired: false
72
71 property list<QtObject> data: [ 73 property list<QtObject> data: [
72 Timer { 74 Timer {
73 running: root.active && timer.parent.tracked 75 running: root.active && !timer.expired
74 interval: timer.expirationTime 76 interval: timer.expirationTime
75 onTriggered: timer.parent.expire() 77 onTriggered: {
78 timer.expired = true;
79 timer.parent.expire();
80 }
76 } 81 }
77 ] 82 ]
78 } 83 }