1
0
Fork 0
quickshell-examples/lockscreen/test.qml
outfoxxed a64b477dea
lockscreen: replace lockscreen example
The new one uses the pam module and looks much nicer.
2024-06-18 17:14:51 -07:00

26 lines
334 B
QML

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();
}
}
}