summaryrefslogtreecommitdiff
path: root/modules/bar/Bar.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-01 00:56:55 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-01 00:56:55 +1000
commitd54df2792ad8536ea2e4135fba3bb3558e281fe1 (patch)
tree22445e7f85a5c4e9e84a337f4676c97e4550905e /modules/bar/Bar.qml
parentdev: fix run script (diff)
downloadcaelestia-shell-d54df2792ad8536ea2e4135fba3bb3558e281fe1.tar.gz
caelestia-shell-d54df2792ad8536ea2e4135fba3bb3558e281fe1.tar.bz2
caelestia-shell-d54df2792ad8536ea2e4135fba3bb3558e281fe1.zip
feat: bar panel preset
Make presets more flexible Fix workspaces when show windows disabled Make rounded option for workspaces
Diffstat (limited to 'modules/bar/Bar.qml')
-rw-r--r--modules/bar/Bar.qml10
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/bar/Bar.qml b/modules/bar/Bar.qml
index 5a2940f..ad1621c 100644
--- a/modules/bar/Bar.qml
+++ b/modules/bar/Bar.qml
@@ -14,8 +14,8 @@ Variants {
screen: modelData
name: "bar"
- width: BarConfig.vertical ? BarConfig.preset.totalHeight : -1
- height: BarConfig.vertical ? -1 : BarConfig.preset.totalHeight
+ width: BarConfig.vertical ? BarConfig.sizes.totalHeight : -1
+ height: BarConfig.vertical ? -1 : BarConfig.sizes.totalHeight
anchors.top: true
anchors.left: true
@@ -42,6 +42,12 @@ Variants {
Pills {}
}
+
+ Preset {
+ presetName: "panel"
+
+ Panel {}
+ }
}
component Preset: Loader {