summaryrefslogtreecommitdiff
path: root/config/OsdConfig.qml
diff options
context:
space:
mode:
Diffstat (limited to 'config/OsdConfig.qml')
-rw-r--r--config/OsdConfig.qml16
1 files changed, 6 insertions, 10 deletions
diff --git a/config/OsdConfig.qml b/config/OsdConfig.qml
index 467d8e7..7275e22 100644
--- a/config/OsdConfig.qml
+++ b/config/OsdConfig.qml
@@ -1,14 +1,10 @@
-pragma Singleton
+import Quickshell.Io
-import Quickshell
-import QtQuick
+JsonObject {
+ property int hideDelay: 2000
-Singleton {
- readonly property int hideDelay: 2000
- readonly property Sizes sizes: Sizes {}
-
- component Sizes: QtObject {
- readonly property int sliderWidth: 30
- readonly property int sliderHeight: 150
+ property JsonObject sizes: JsonObject {
+ property int sliderWidth: 30
+ property int sliderHeight: 150
}
}