diff --git a/config/BarLayout.qml b/config/BarLayout.qml index a76b3f5..97bef46 100644 --- a/config/BarLayout.qml +++ b/config/BarLayout.qml @@ -14,11 +14,12 @@ Singleton { property var left: [ root.widget("LauncherButton"), root.widget("BatteryIndicator"), - root.widget("CavaVisualizer") ] property var center: [ - root.widget("Workspaces") + root.widget("CavaVisualizer"), + root.widget("Workspaces"), + root.widget("CavaVisualizer"), ] property var right: [ diff --git a/windows/Bar.qml b/windows/Bar.qml index a20b795..2641766 100644 --- a/windows/Bar.qml +++ b/windows/Bar.qml @@ -36,9 +36,11 @@ PanelWindow { implicitHeight: parent.height Layout.fillWidth: true - Row { + RowLayout { + id: secRow + + anchors.verticalCenter: parent.verticalCenter x: section.alignment === Qt.AlignLeft ? 0 : section.alignment === Qt.AlignRight ? parent.width - width : (parent.width - width) / 2 - y: (section.height - height) / 2 spacing: Appearance.spacing Repeater { @@ -48,6 +50,7 @@ PanelWindow { required property var modelData source: modelData + Layout.alignment: Qt.AlignVCenter } } }