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/OsdConfig.qml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'config/OsdConfig.qml') 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 } } -- cgit v1.2.3-freya