Update quickshell

This commit is contained in:
outfoxxed 2024-03-14 05:05:41 -07:00
parent 6d493c43b9
commit 6a824b8a58
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
3 changed files with 76 additions and 69 deletions

View file

@ -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

View file

@ -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 {