mirror of
https://github.com/kossLAN/dots.git
synced 2025-11-05 06:59:50 -05:00
greeter: fixed resource links
This commit is contained in:
parent
fc9ced0bbe
commit
47d5f48709
4 changed files with 2 additions and 3 deletions
34
shell/greeter.qml
Normal file
34
shell/greeter.qml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
pragma ComponentBehavior: Bound
|
||||
|
||||
import Quickshell
|
||||
import Quickshell.Wayland
|
||||
import Quickshell.Services.Greetd
|
||||
import "lockscreen"
|
||||
|
||||
ShellRoot {
|
||||
id: root
|
||||
|
||||
GreeterContext {
|
||||
id: context
|
||||
|
||||
onLaunch: {
|
||||
lock.locked = false;
|
||||
Greetd.launch(["hyprland"]);
|
||||
}
|
||||
}
|
||||
|
||||
WlSessionLock {
|
||||
id: lock
|
||||
locked: true
|
||||
|
||||
WlSessionLockSurface {
|
||||
LockSurface {
|
||||
state: context.state
|
||||
|
||||
// TODO: env var for wallpaper
|
||||
wallpaper: "root:resources/wallpapers/wallhaven-96y9qk.jpg"
|
||||
anchors.fill: parent
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue