diff options
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/Bar.qml')
-rw-r--r-- | accounts/gkleen@sif/shell/quickshell/Bar.qml | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/Bar.qml b/accounts/gkleen@sif/shell/quickshell/Bar.qml index aab1607f..d52740b2 100644 --- a/accounts/gkleen@sif/shell/quickshell/Bar.qml +++ b/accounts/gkleen@sif/shell/quickshell/Bar.qml | |||
@@ -1,14 +1,11 @@ | |||
1 | import Quickshell | 1 | import Quickshell |
2 | import QtQuick | 2 | import QtQuick |
3 | 3 | ||
4 | |||
5 | PanelWindow { | 4 | PanelWindow { |
6 | id: bar | 5 | id: bar |
7 | 6 | ||
8 | required property var screen | 7 | required property var screen |
9 | 8 | ||
10 | property var calendarMouseArea: clock.calendarMouseArea | ||
11 | |||
12 | anchors { | 9 | anchors { |
13 | top: true | 10 | top: true |
14 | left: true | 11 | left: true |
@@ -66,22 +63,41 @@ PanelWindow { | |||
66 | anchors.verticalCenter: parent.verticalCenter | 63 | anchors.verticalCenter: parent.verticalCenter |
67 | spacing: 0 | 64 | spacing: 0 |
68 | 65 | ||
69 | SystemTray {} | 66 | PrivacyWidget { |
67 | id: privacy | ||
68 | } | ||
70 | 69 | ||
71 | Item { | 70 | Item { |
71 | enabled: privacy.active | ||
72 | height: parent.height | 72 | height: parent.height |
73 | width: 4 | 73 | width: 8 |
74 | } | 74 | } |
75 | 75 | ||
76 | KeyboardLayout {} | 76 | BatteryWidget {} |
77 | |||
78 | Item { | ||
79 | height: parent.height | ||
80 | width: 8 | ||
81 | } | ||
82 | |||
83 | BrightnessWidget {} | ||
77 | 84 | ||
78 | Item { | 85 | Item { |
79 | height: parent.height | 86 | height: parent.height |
80 | width: 4 | 87 | width: 4 |
81 | } | 88 | } |
82 | 89 | ||
83 | Clock { | 90 | PipewireWidget {} |
84 | id: clock | 91 | |
92 | SystemTray {} | ||
93 | |||
94 | KeyboardLayout {} | ||
95 | |||
96 | Item { | ||
97 | height: parent.height | ||
98 | width: 8 - 4 | ||
85 | } | 99 | } |
100 | |||
101 | Clock {} | ||
86 | } | 102 | } |
87 | } \ No newline at end of file | 103 | } \ No newline at end of file |