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 {
|
ShellRoot {
|
||||||
Variants {
|
Variants {
|
||||||
// Create the panel once on each monitor.
|
// Create the panel once on each monitor.
|
||||||
variants: Quickshell.screens.map(screen => ({ screen }))
|
model: Quickshell.screens
|
||||||
|
|
||||||
PanelWindow {
|
PanelWindow {
|
||||||
id: w
|
id: w
|
||||||
|
|
||||||
|
property var modelData
|
||||||
|
screen: modelData
|
||||||
|
|
||||||
anchors {
|
anchors {
|
||||||
right: true
|
right: true
|
||||||
bottom: true
|
bottom: true
|
||||||
|
|
|
@ -11,10 +11,13 @@ Variants {
|
||||||
property color buttonHoverColor: "#3700b3"
|
property color buttonHoverColor: "#3700b3"
|
||||||
default property list<LogoutButton> buttons
|
default property list<LogoutButton> buttons
|
||||||
|
|
||||||
variants: Quickshell.screens.map(screen => ({ screen }))
|
model: Quickshell.screens
|
||||||
PanelWindow {
|
PanelWindow {
|
||||||
id: w
|
id: w
|
||||||
|
|
||||||
|
property var modelData
|
||||||
|
screen: modelData
|
||||||
|
|
||||||
exclusionMode: ExclusionMode.Ignore
|
exclusionMode: ExclusionMode.Ignore
|
||||||
WlrLayershell.layer: WlrLayer.Overlay
|
WlrLayershell.layer: WlrLayer.Overlay
|
||||||
WlrLayershell.keyboardFocus: WlrKeyboardFocus.Exclusive
|
WlrLayershell.keyboardFocus: WlrKeyboardFocus.Exclusive
|
||||||
|
|
Loading…
Reference in a new issue