File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,14 @@ import Quickshell.Wayland
66ShellRoot {
77 Variants {
88 // Create the panel once on each monitor.
9- variants : Quickshell .screens . map ( screen => ({ screen }))
9+ model : Quickshell .screens
1010
1111 PanelWindow {
1212 id: w
1313
14+ property var modelData
15+ screen : modelData
16+
1417 anchors {
1518 right: true
1619 bottom: true
Original file line number Diff line number Diff line change @@ -11,10 +11,13 @@ Variants {
1111 property color buttonHoverColor: " #3700b3"
1212 default property list< LogoutButton> buttons
1313
14- variants : Quickshell .screens . map ( screen => ({ screen }))
14+ model : Quickshell .screens
1515 PanelWindow {
1616 id: w
1717
18+ property var modelData
19+ screen : modelData
20+
1821 exclusionMode: ExclusionMode .Ignore
1922 WlrLayershell .layer : WlrLayer .Overlay
2023 WlrLayershell .keyboardFocus : WlrKeyboardFocus .Exclusive
You can’t perform that action at this time.
0 commit comments