diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-18 23:39:23 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-18 23:39:23 +1000 |
| commit | ef5936d0ab58b79d55d79da0c77627f09676691d (patch) | |
| tree | 04a21d49d00d912b23a1665dc5ac1fc4492c6aee /modules/sidebar/NotifDock.qml | |
| parent | sidebar: add notifs (diff) | |
| download | caelestia-shell-ef5936d0ab58b79d55d79da0c77627f09676691d.tar.gz caelestia-shell-ef5936d0ab58b79d55d79da0c77627f09676691d.tar.bz2 caelestia-shell-ef5936d0ab58b79d55d79da0c77627f09676691d.zip | |
notifs: persistent notifs + better sidebar notifs
Diffstat (limited to 'modules/sidebar/NotifDock.qml')
| -rw-r--r-- | modules/sidebar/NotifDock.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/sidebar/NotifDock.qml b/modules/sidebar/NotifDock.qml index 36b6665..490eeb8 100644 --- a/modules/sidebar/NotifDock.qml +++ b/modules/sidebar/NotifDock.qml @@ -160,8 +160,9 @@ Item { repeat: true interval: 50 onTriggered: { - Notifs.list[0]?.notification.dismiss(); - if (Notifs.list.length === 0) + if (Notifs.list.length > 0) + Notifs.list[0].close(); + else stop(); } } |