diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-15 18:08:45 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-15 18:08:45 +1000 |
| commit | 96429160c30ba5f6dcd25c8e6a181221195c41d8 (patch) | |
| tree | 6f95bac8f3056abae67c04ae612b574ce1c37286 /config/DashboardConfig.qml | |
| parent | internal: properly fix beat detector (diff) | |
| download | caelestia-shell-96429160c30ba5f6dcd25c8e6a181221195c41d8.tar.gz caelestia-shell-96429160c30ba5f6dcd25c8e6a181221195c41d8.tar.bz2 caelestia-shell-96429160c30ba5f6dcd25c8e6a181221195c41d8.zip | |
feat: user config file
Config file at `~/.config/caelestia/shell.json`
Diffstat (limited to 'config/DashboardConfig.qml')
| -rw-r--r-- | config/DashboardConfig.qml | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/config/DashboardConfig.qml b/config/DashboardConfig.qml index 3c32e07..269d4b4 100644 --- a/config/DashboardConfig.qml +++ b/config/DashboardConfig.qml @@ -1,14 +1,10 @@ -pragma Singleton +import Quickshell.Io -import Quickshell -import QtQuick +JsonObject { + property int mediaUpdateInterval: 500 + property int visualiserBars: 45 -Singleton { - readonly property int mediaUpdateInterval: 500 - readonly property int visualiserBars: 45 - readonly property Sizes sizes: Sizes {} - - component Sizes: QtObject { + property JsonObject sizes: JsonObject { readonly property int tabIndicatorHeight: 3 readonly property int tabIndicatorSpacing: 5 readonly property int infoWidth: 200 |