hefty: bar: allow vertical

This commit is contained in:
end-4
2026-02-03 22:43:09 +01:00
parent 58184f5be8
commit 5bb1aa06af
7 changed files with 177 additions and 84 deletions
@@ -1,8 +1,6 @@
import QtQuick
import QtQuick.Layouts
import Quickshell
import qs.services
import qs.modules.common.widgets
import qs.modules.common as C
Item {
id: root
@@ -11,13 +9,16 @@ Item {
id: leftSide
anchors.left: parent.left
width: (parent.width - centerSide.width) / 2
HBarUserFallbackComponentRepeater {
componentNames: C.Config.options.hefty.bar.leftWidgets
}
}
Side {
id: centerSide
anchors.horizontalCenter: parent.horizontalCenter
HBarUserFallbackComponentRepeater {
componentNames: [["Workspaces"]]
componentNames: C.Config.options.hefty.bar.centerWidgets
}
}
@@ -25,6 +26,9 @@ Item {
id: rightSide
anchors.right: parent.right
width: (parent.width - centerSide.width) / 2
HBarUserFallbackComponentRepeater {
componentNames: C.Config.options.hefty.bar.rightWidgets
}
}
component Side: RowLayout {