summaryrefslogtreecommitdiff
path: root/config/NotifsConfig.qml
diff options
context:
space:
mode:
authorTim Hämisch <tim@thaemisch.net>2025-06-15 13:40:47 +0200
committerGitHub <noreply@github.com>2025-06-15 13:40:47 +0200
commit68874082b4cfee63feaecc0640646ad0ba753da7 (patch)
tree815a1113a4bd83373283253a35f0220a08a8cfe6 /config/NotifsConfig.qml
parentlauncher: use standard logout command (diff)
parentdashboard: fix uptime (diff)
downloadcaelestia-shell-68874082b4cfee63feaecc0640646ad0ba753da7.tar.gz
caelestia-shell-68874082b4cfee63feaecc0640646ad0ba753da7.tar.bz2
caelestia-shell-68874082b4cfee63feaecc0640646ad0ba753da7.zip
Merge branch 'main' into betteractions
Diffstat (limited to 'config/NotifsConfig.qml')
-rw-r--r--config/NotifsConfig.qml26
1 files changed, 11 insertions, 15 deletions
diff --git a/config/NotifsConfig.qml b/config/NotifsConfig.qml
index 34b9226..f84def2 100644
--- a/config/NotifsConfig.qml
+++ b/config/NotifsConfig.qml
@@ -1,19 +1,15 @@
-pragma Singleton
+import Quickshell.Io
-import Quickshell
-import QtQuick
+JsonObject {
+ property bool expire: false
+ property int defaultExpireTimeout: 3000
+ property real clearThreshold: 0.3
+ property int expandThreshold: 20
+ property bool actionOnClick: false
-Singleton {
- readonly property bool expire: false
- readonly property int defaultExpireTimeout: 3000
- readonly property real clearThreshold: 0.3
- readonly property int expandThreshold: 20
- readonly property bool actionOnClick: false
- readonly property Sizes sizes: Sizes {}
-
- component Sizes: QtObject {
- readonly property int width: 400
- readonly property int image: 41
- readonly property int badge: 20
+ property JsonObject sizes: JsonObject {
+ property int width: 400
+ property int image: 41
+ property int badge: 20
}
}