feat: add quickshell lock screen

This commit is contained in:
johannes committed 2026-09-17 19:56:15 +02:00
1 parent e6f6b5f09c
commit 02cacf165a
6 files changed
+243 -10

No files matched your search

+14
View File
@@ -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
}
}