all: update usage of Variants to match new api
See quickshell/48156a55b30c68cade2d28588e8f04f9080e54d1.
This commit is contained in:
parent
9838d79724
commit
57078cd364
|
@ -6,11 +6,14 @@ import Quickshell.Wayland
|
|||
ShellRoot {
|
||||
Variants {
|
||||
// Create the panel once on each monitor.
|
||||
variants: Quickshell.screens.map(screen => ({ screen }))
|
||||
model: Quickshell.screens
|
||||
|
||||
PanelWindow {
|
||||
id: w
|
||||
|
||||
property var modelData
|
||||
screen: modelData
|
||||
|
||||
anchors {
|
||||
right: true
|
||||
bottom: true
|
||||
|
|
|
@ -11,10 +11,13 @@ Variants {
|
|||
property color buttonHoverColor: "#3700b3"
|
||||
default property list<LogoutButton> buttons
|
||||
|
||||
variants: Quickshell.screens.map(screen => ({ screen }))
|
||||
model: Quickshell.screens
|
||||
PanelWindow {
|
||||
id: w
|
||||
|
||||
property var modelData
|
||||
screen: modelData
|
||||
|
||||
exclusionMode: ExclusionMode.Ignore
|
||||
WlrLayershell.layer: WlrLayer.Overlay
|
||||
WlrLayershell.keyboardFocus: WlrKeyboardFocus.Exclusive
|
||||
|
|
Loading…
Reference in a new issue