summaryrefslogtreecommitdiff
path: root/config/LauncherConfig.qml
diff options
context:
space:
mode:
Diffstat (limited to 'config/LauncherConfig.qml')
-rw-r--r--config/LauncherConfig.qml24
1 files changed, 10 insertions, 14 deletions
diff --git a/config/LauncherConfig.qml b/config/LauncherConfig.qml
index 18489f7..987e634 100644
--- a/config/LauncherConfig.qml
+++ b/config/LauncherConfig.qml
@@ -1,18 +1,14 @@
-pragma Singleton
+import Quickshell.Io
-import Quickshell
-import QtQuick
+JsonObject {
+ property int maxShown: 8
+ property int maxWallpapers: 9 // Warning: even numbers look bad
+ property string actionPrefix: ">"
-Singleton {
- readonly property int maxShown: 8
- readonly property int maxWallpapers: 9 // Warning: even numbers look bad
- readonly property string actionPrefix: ">"
- readonly property Sizes sizes: Sizes {}
-
- component Sizes: QtObject {
- readonly property int itemWidth: 600
- readonly property int itemHeight: 57
- readonly property int wallpaperWidth: 280
- readonly property int wallpaperHeight: 200
+ property JsonObject sizes: JsonObject {
+ property int itemWidth: 600
+ property int itemHeight: 57
+ property int wallpaperWidth: 280
+ property int wallpaperHeight: 200
}
}