diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-29 10:29:30 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-29 10:29:30 +1000 |
| commit | 5fd8d0f6da23030cbe043c5fd59284393781e23a (patch) | |
| tree | 718c188d60eeb2de460d6fd7d15e17814d67014b /config | |
| parent | refactor: move bar components into folder (diff) | |
| download | caelestia-shell-5fd8d0f6da23030cbe043c5fd59284393781e23a.tar.gz caelestia-shell-5fd8d0f6da23030cbe043c5fd59284393781e23a.tar.bz2 caelestia-shell-5fd8d0f6da23030cbe043c5fd59284393781e23a.zip | |
refactor: use anchors instead of layouts
Diffstat (limited to 'config')
| -rw-r--r-- | config/BarConfig.qml | 17 |
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 } } |