Use quickshell for background
This commit is contained in:
parent
b6bff47ed1
commit
6d493c43b9
10 changed files with 125 additions and 118 deletions
|
@ -1,6 +1,7 @@
|
|||
import QtQuick
|
||||
import Quickshell
|
||||
import Quickshell.Wayland
|
||||
import ".."
|
||||
|
||||
ShellRoot {
|
||||
AuthContext {
|
||||
|
@ -17,9 +18,11 @@ ShellRoot {
|
|||
}
|
||||
|
||||
SessionLockSurface {
|
||||
Image {
|
||||
id: surface
|
||||
|
||||
BackgroundImage {
|
||||
anchors.fill: parent
|
||||
source: `../../../../hyprland/${screen.name == "DP-1" ? "5120x1440" : "1920x1080"}.png`
|
||||
screen: surface.screen
|
||||
}
|
||||
|
||||
Lockscreen {
|
||||
|
@ -28,5 +31,4 @@ ShellRoot {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue