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.qml11
1 files changed, 9 insertions, 2 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/Bar.qml b/accounts/gkleen@sif/shell/quickshell/Bar.qml
index accad2a9..3652af54 100644
--- a/accounts/gkleen@sif/shell/quickshell/Bar.qml
+++ b/accounts/gkleen@sif/shell/quickshell/Bar.qml
@@ -5,7 +5,7 @@ import QtQuick
5PanelWindow { 5PanelWindow {
6 id: bar 6 id: bar
7 7
8 property var modelData 8 required property var screen
9 9
10 anchors { 10 anchors {
11 top: true 11 top: true
@@ -17,7 +17,6 @@ PanelWindow {
17 right: 26 + 8 17 right: 26 + 8
18 } 18 }
19 19
20 screen: modelData
21 implicitHeight: 21 20 implicitHeight: 21
22 color: "transparent" 21 color: "transparent"
23 22
@@ -50,6 +49,7 @@ PanelWindow {
50 spacing: 5 49 spacing: 5
51 50
52 ActiveWindowDisplay { 51 ActiveWindowDisplay {
52 screen: bar.screen
53 maxWidth: bar.width - 2*Math.max(left.width, right.width) - 2*8 53 maxWidth: bar.width - 2*Math.max(left.width, right.width) - 2*8
54 } 54 }
55 } 55 }
@@ -64,6 +64,13 @@ PanelWindow {
64 anchors.verticalCenter: parent.verticalCenter 64 anchors.verticalCenter: parent.verticalCenter
65 spacing: 0 65 spacing: 0
66 66
67 PipewireWidget {}
68
69 Item {
70 height: parent.height
71 width: 4
72 }
73
67 SystemTray {} 74 SystemTray {}
68 75
69 Item { 76 Item {