summaryrefslogtreecommitdiff
path: root/services/Notifs.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-10 21:04:17 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-10 21:04:17 +1000
commit60254019c8b90fda1af8c263f5bc07fe1a6b1a92 (patch)
tree1add5c1f7066e0dcf5257314c2f487c5afc30a86 /services/Notifs.qml
parentlauncher: fix interrupted transitions (diff)
downloadcaelestia-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.qml3
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();
}
}