summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/shell/quickshell/Bar.qml
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/Bar.qml')
-rw-r--r--accounts/gkleen@sif/shell/quickshell/Bar.qml37
1 files changed, 23 insertions, 14 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/Bar.qml b/accounts/gkleen@sif/shell/quickshell/Bar.qml
index d52740b2..7f97bd75 100644
--- a/accounts/gkleen@sif/shell/quickshell/Bar.qml
+++ b/accounts/gkleen@sif/shell/quickshell/Bar.qml
@@ -1,4 +1,5 @@
1import Quickshell 1import Quickshell
2import Quickshell.Wayland
2import QtQuick 3import QtQuick
3 4
4PanelWindow { 5PanelWindow {
@@ -6,6 +7,8 @@ PanelWindow {
6 7
7 required property var screen 8 required property var screen
8 9
10 WlrLayershell.namespace: "bar"
11
9 anchors { 12 anchors {
10 top: true 13 top: true
11 left: true 14 left: true
@@ -63,35 +66,41 @@ PanelWindow {
63 anchors.verticalCenter: parent.verticalCenter 66 anchors.verticalCenter: parent.verticalCenter
64 spacing: 0 67 spacing: 0
65 68
66 PrivacyWidget { 69 WorktimeWidget { command: "time"; }
67 id: privacy
68 }
69 70
70 Item { 71 WorktimeWidget { command: "today"; }
71 enabled: privacy.active
72 height: parent.height
73 width: 8
74 }
75 72
76 BatteryWidget {} 73 KeyboardLayout {}
77 74
78 Item { 75 Item {
76 visible: privacy.visible
79 height: parent.height 77 height: parent.height
80 width: 8 78 width: 8 - 4
81 } 79 }
82 80
83 BrightnessWidget {} 81 PrivacyWidget {
82 id: privacy
83 }
84 84
85 Item { 85 Item {
86 visible: privacy.visible
86 height: parent.height 87 height: parent.height
87 width: 4 88 width: 8 - 4
88 } 89 }
89 90
91 SystemTray {}
92
90 PipewireWidget {} 93 PipewireWidget {}
91 94
92 SystemTray {} 95 BrightnessWidget {}
93 96
94 KeyboardLayout {} 97 BatteryWidget {}
98
99 WaylandInhibitorWidget {
100 window: bar
101 }
102
103 LidSwitchInhibitorWidget {}
95 104
96 Item { 105 Item {
97 height: parent.height 106 height: parent.height