feat: init lockscreen

This commit is contained in:
kossLAN 2025-06-13 13:31:06 -04:00
parent 4687b955d4
commit 15ffd6d5b0
Signed by: kossLAN
SSH key fingerprint: SHA256:bdV0x+wdQHGJ6LgmstH3KV8OpWY+OOFmJcPcB0wQPV8
14 changed files with 433 additions and 4 deletions

25
lockscreen/test.qml Normal file
View file

@ -0,0 +1,25 @@
import QtQuick
import Quickshell
ShellRoot {
LockContext {
id: lockContext
onUnlocked: Qt.quit();
}
FloatingWindow {
LockSurface {
anchors.fill: parent
context: lockContext
}
}
// exit the example if the window closes
Connections {
target: Quickshell
function onLastWindowClosed() {
Qt.quit();
}
}
}