summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-10 21:22:40 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-10 21:22:40 +1000
commitae67668fc277531b6eb23e67b0547ac1250023f3 (patch)
tree544c081e54a767d02bd062581841a696e812e9de /services
parentnotifs: close on middle button (diff)
downloadcaelestia-shell-ae67668fc277531b6eb23e67b0547ac1250023f3.tar.gz
caelestia-shell-ae67668fc277531b6eb23e67b0547ac1250023f3.tar.bz2
caelestia-shell-ae67668fc277531b6eb23e67b0547ac1250023f3.zip
notifs: option to have expire timeout
Also remove scrollbar and reduce expand drag threshold
Diffstat (limited to 'services')
-rw-r--r--services/Notifs.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/services/Notifs.qml b/services/Notifs.qml
index 7697d9e..44db1c5 100644
--- a/services/Notifs.qml
+++ b/services/Notifs.qml
@@ -59,7 +59,10 @@ Singleton {
readonly property Timer timer: Timer {
running: true
interval: notif.notification.expireTimeout > 0 ? notif.notification.expireTimeout : NotifsConfig.defaultExpireTimeout
- onTriggered: notif.popup = false
+ onTriggered: {
+ if (NotifsConfig.expire)
+ notif.popup = false;
+ }
}
readonly property Connections conn: Connections {