diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-10 21:04:17 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-10 21:04:17 +1000 |
| commit | 60254019c8b90fda1af8c263f5bc07fe1a6b1a92 (patch) | |
| tree | 1add5c1f7066e0dcf5257314c2f487c5afc30a86 /services/Notifs.qml | |
| parent | launcher: fix interrupted transitions (diff) | |
| download | caelestia-shell-60254019c8b90fda1af8c263f5bc07fe1a6b1a92.tar.gz caelestia-shell-60254019c8b90fda1af8c263f5bc07fe1a6b1a92.tar.bz2 caelestia-shell-60254019c8b90fda1af8c263f5bc07fe1a6b1a92.zip | |
feat: expandable notifs
Diffstat (limited to 'services/Notifs.qml')
| -rw-r--r-- | services/Notifs.qml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/services/Notifs.qml b/services/Notifs.qml index 455e4db..7697d9e 100644 --- a/services/Notifs.qml +++ b/services/Notifs.qml @@ -1,4 +1,5 @@ pragma Singleton +pragma ComponentBehavior: Bound import "root:/config" import Quickshell @@ -52,6 +53,7 @@ Singleton { readonly property string summary: notification.summary readonly property string body: notification.body readonly property string appIcon: notification.appIcon + readonly property string appName: notification.appName readonly property string image: notification.image readonly property Timer timer: Timer { @@ -64,6 +66,7 @@ Singleton { target: notif.notification function onClosed(): void { + root.list.splice(root.list.indexOf(notif), 1); notif.destroy(); } } |