summaryrefslogtreecommitdiff
path: root/config/LauncherConfig.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/LauncherConfig.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/LauncherConfig.qml')
-rw-r--r--config/LauncherConfig.qml26
1 files changed, 11 insertions, 15 deletions
diff --git a/config/LauncherConfig.qml b/config/LauncherConfig.qml
index a3c154f..1757c7e 100644
--- a/config/LauncherConfig.qml
+++ b/config/LauncherConfig.qml
@@ -1,19 +1,15 @@
-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: ">"
+ property bool allowDangerousActions: false // Allow actions that can change the system state, like shutdown, reboot and logout
-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 {}
- readonly property bool allowDangerousActions: false // Allow actions that can change the system state, like shutdown, reboot and logout
-
- 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
}
}