summaryrefslogtreecommitdiff
path: root/services/Notifs.qml
diff options
context:
space:
mode:
authorcordlessblues <75154048+cordlessblues@users.noreply.github.com>2026-03-15 02:27:46 -0500
committerGitHub <noreply@github.com>2026-03-15 18:27:46 +1100
commit533b6590cddcea3e022a0547a3be248a691d7fee (patch)
tree28b52b5734c9f88f8023b04cfc84decfec299642 /services/Notifs.qml
parentsystemusage: optimized storage aggregation and improved device filtering (#1261) (diff)
downloadcaelestia-shell-533b6590cddcea3e022a0547a3be248a691d7fee.tar.gz
caelestia-shell-533b6590cddcea3e022a0547a3be248a691d7fee.tar.bz2
caelestia-shell-533b6590cddcea3e022a0547a3be248a691d7fee.zip
notifs: support int:value hint (#1254)
* add .vscode/settings.json to gitignore * added support for the Int:value hint * fix * more fix * f * comment --------- Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Diffstat (limited to 'services/Notifs.qml')
-rw-r--r--services/Notifs.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/services/Notifs.qml b/services/Notifs.qml
index aa440fe..aff2dfc 100644
--- a/services/Notifs.qml
+++ b/services/Notifs.qml
@@ -186,6 +186,7 @@ Singleton {
property string appIcon
property string appName
property string image
+ property var hints // Hints are not persisted across restarts
property real expireTimeout: Config.notifs.defaultExpireTimeout
property int urgency: NotificationUrgency.Normal
property bool resident
@@ -301,6 +302,10 @@ Singleton {
invoke: () => a.invoke()
}));
}
+
+ function onHintsChanged(): void {
+ notif.hints = notif.notification.hints;
+ }
}
function lock(item: Item): void {
@@ -335,6 +340,7 @@ Singleton {
if (notification?.image)
dummyImageLoader.active = true;
expireTimeout = notification.expireTimeout;
+ hints = notification.hints;
urgency = notification.urgency;
resident = notification.resident;
hasActionIcons = notification.hasActionIcons;