From 96429160c30ba5f6dcd25c8e6a181221195c41d8 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 15 Jun 2025 18:08:45 +1000 Subject: feat: user config file Config file at `~/.config/caelestia/shell.json` --- config/BarConfig.qml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'config/BarConfig.qml') diff --git a/config/BarConfig.qml b/config/BarConfig.qml index 21f9314..31577c4 100644 --- a/config/BarConfig.qml +++ b/config/BarConfig.qml @@ -1,22 +1,14 @@ -pragma Singleton +import Quickshell.Io -import Quickshell -import QtQuick - -Singleton { - id: root - - readonly property Sizes sizes: Sizes {} - readonly property Workspaces workspaces: Workspaces {} - - component Sizes: QtObject { +JsonObject { + property JsonObject sizes: JsonObject { property int innerHeight: 30 property int windowPreviewSize: 400 property int trayMenuWidth: 300 property int batteryWidth: 250 } - component Workspaces: QtObject { + property JsonObject workspaces: JsonObject { property int shown: 5 property bool rounded: true property bool activeIndicator: true -- cgit v1.2.3-freya