summaryrefslogtreecommitdiff
path: root/modules/bar/Bar.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-29 14:05:31 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-29 14:05:31 +1000
commitb59dde6c5f996f9c6891bad67e9fb12829d9b364 (patch)
tree8bbe36a5dc139c889fed26834ebd8f15630debf0 /modules/bar/Bar.qml
parentrefactor: occupiedbg comp anim (diff)
downloadcaelestia-shell-b59dde6c5f996f9c6891bad67e9fb12829d9b364.tar.gz
caelestia-shell-b59dde6c5f996f9c6891bad67e9fb12829d9b364.tar.bz2
caelestia-shell-b59dde6c5f996f9c6891bad67e9fb12829d9b364.zip
bar: use swipeview
Diffstat (limited to 'modules/bar/Bar.qml')
-rw-r--r--modules/bar/Bar.qml17
1 files changed, 10 insertions, 7 deletions
diff --git a/modules/bar/Bar.qml b/modules/bar/Bar.qml
index 35c77e0..420ad18 100644
--- a/modules/bar/Bar.qml
+++ b/modules/bar/Bar.qml
@@ -19,8 +19,8 @@ Variants {
namespace: "caelestia-bar"
color: "transparent"
- width: content.width
- height: content.height
+ width: BarConfig.vertical ? BarConfig.preset.totalHeight : -1
+ height: BarConfig.vertical ? -1 : BarConfig.preset.totalHeight
anchors.top: true
anchors.left: true
@@ -42,12 +42,15 @@ Variants {
// }
// }
- // SwipeView {
- // anchors.fill: parent
+ SwipeView {
+ anchors.fill: parent
+ currentIndex: 1
- // }
- Pills {
- id: content
+ // Item {
+ Pills {
+ id: content
+ }
+ // }
}
// Box {