lockscreen: add example
This commit is contained in:
parent
0c568317df
commit
56dc79816b
6 changed files with 160 additions and 0 deletions
18
lockscreen/test.qml
Normal file
18
lockscreen/test.qml
Normal file
|
@ -0,0 +1,18 @@
|
|||
import QtQuick
|
||||
import Quickshell
|
||||
|
||||
ShellRoot {
|
||||
AuthContext {
|
||||
id: authContext
|
||||
onUnlocked: Qt.quit()
|
||||
}
|
||||
|
||||
FloatingWindow {
|
||||
color: "#303030"
|
||||
|
||||
Lockscreen {
|
||||
anchors.fill: parent
|
||||
context: authContext
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue