feat: add quickshell lock screen
This commit is contained in:
1 parent
215d8b7d8e
commit
c3c1f29df0
6 files changed
+243
-10
No files matched your search
@@ -10,6 +10,7 @@ import "components/LogoutMenu"
|
||||
import "components/ClipboardManager"
|
||||
import "components/Notifications"
|
||||
import "components/WallpaperPicker"
|
||||
import "components/LockScreen"
|
||||
|
||||
ShellRoot {
|
||||
id: root
|
||||
@@ -133,4 +134,17 @@ ShellRoot {
|
||||
Showcase {
|
||||
id: showcase
|
||||
}
|
||||
|
||||
// No unlock/toggle exposed here on purpose: unlocking only ever happens
|
||||
// through a successful PamContext result inside LockScreen.qml.
|
||||
IpcHandler {
|
||||
target: "lockScreen"
|
||||
function lock() {
|
||||
lockScreen.locked = true;
|
||||
}
|
||||
}
|
||||
|
||||
LockScreen {
|
||||
id: lockScreen
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user