summaryrefslogtreecommitdiff
path: root/modules/bar
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bar')
-rw-r--r--modules/bar/Panel.qml20
1 files changed, 9 insertions, 11 deletions
diff --git a/modules/bar/Panel.qml b/modules/bar/Panel.qml
index ee0c0ea..62d2776 100644
--- a/modules/bar/Panel.qml
+++ b/modules/bar/Panel.qml
@@ -51,19 +51,10 @@ StyledRect {
Layout.fillHeight: true
}
- Workspaces {
- vertical: BarConfig.vertical
- }
-
- Item {
- Layout.fillWidth: true
- Layout.fillHeight: true
- }
-
Module {
color: Appearance.colours.green
- Tray {
+ Clock {
colour: Appearance.on(Appearance.colours.green)
anchors.horizontalCenter: root.get(undefined, parent.horizontalCenter)
@@ -74,7 +65,7 @@ StyledRect {
Module {
color: Appearance.colours.yellow
- Clock {
+ Tray {
colour: Appearance.on(Appearance.colours.yellow)
anchors.horizontalCenter: root.get(undefined, parent.horizontalCenter)
@@ -109,6 +100,13 @@ StyledRect {
}
}
+ Workspaces {
+ vertical: BarConfig.vertical
+
+ anchors.horizontalCenter: parent.horizontalCenter
+ anchors.verticalCenter: parent.verticalCenter
+ }
+
component Module: PaddedRect {
padding: BarConfig.vertical ? [Appearance.padding.large, 0] : [0, Appearance.padding.large]