Update quickshell
This commit is contained in:
parent
6d493c43b9
commit
6a824b8a58
3 changed files with 76 additions and 69 deletions
|
@ -1,14 +1,18 @@
|
|||
import Quickshell
|
||||
import Quickshell.Wayland
|
||||
import QtQuick
|
||||
import ".."
|
||||
|
||||
ShellRoot {
|
||||
Variants {
|
||||
variants: Quickshell.screens.map(screen => ({ screen }))
|
||||
model: Quickshell.screens
|
||||
PanelWindow {
|
||||
id: window
|
||||
|
||||
WlrLayershell.layer: Layer.Background
|
||||
property var modelData
|
||||
screen: modelData
|
||||
|
||||
WlrLayershell.layer: WlrLayer.Background
|
||||
anchors {
|
||||
top: true
|
||||
bottom: true
|
||||
|
@ -16,6 +20,8 @@ ShellRoot {
|
|||
right: true
|
||||
}
|
||||
|
||||
color: "#111111"
|
||||
|
||||
BackgroundImage {
|
||||
anchors.fill: parent
|
||||
screen: window.screen
|
||||
|
|
|
@ -9,7 +9,7 @@ ShellRoot {
|
|||
onUnlocked: lock.locked = false
|
||||
}
|
||||
|
||||
SessionLock {
|
||||
WlSessionLock {
|
||||
id: lock
|
||||
locked: true
|
||||
|
||||
|
@ -17,7 +17,7 @@ ShellRoot {
|
|||
if (!locked) Qt.quit();
|
||||
}
|
||||
|
||||
SessionLockSurface {
|
||||
WlSessionLockSurface {
|
||||
id: surface
|
||||
|
||||
BackgroundImage {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue