summaryrefslogtreecommitdiff
path: root/config/BarConfig.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-29 10:29:30 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-29 10:29:30 +1000
commit5fd8d0f6da23030cbe043c5fd59284393781e23a (patch)
tree718c188d60eeb2de460d6fd7d15e17814d67014b /config/BarConfig.qml
parentrefactor: move bar components into folder (diff)
downloadcaelestia-shell-5fd8d0f6da23030cbe043c5fd59284393781e23a.tar.gz
caelestia-shell-5fd8d0f6da23030cbe043c5fd59284393781e23a.tar.bz2
caelestia-shell-5fd8d0f6da23030cbe043c5fd59284393781e23a.zip
refactor: use anchors instead of layouts
Diffstat (limited to 'config/BarConfig.qml')
-rw-r--r--config/BarConfig.qml17
1 files changed, 13 insertions, 4 deletions
diff --git a/config/BarConfig.qml b/config/BarConfig.qml
index ba0063d..0173f18 100644
--- a/config/BarConfig.qml
+++ b/config/BarConfig.qml
@@ -6,9 +6,18 @@ import QtQuick
Singleton {
property bool vertical: false
- readonly property QtObject workspaces: QtObject {
- property int shown: 10
- property string style: ""
- property bool occupiedBg: false
+ readonly property Sizes sizes: Sizes {}
+ readonly property Workspaces workspaces: Workspaces {}
+
+ component Sizes: QtObject {
+ readonly property int height: 50
+ readonly property int floatingGap: 10
+ readonly property int floatingGapLarge: 15
+ }
+
+ component Workspaces: QtObject {
+ readonly property int shown: 10
+ readonly property string style: ""
+ readonly property bool occupiedBg: false
}
}