1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

lockscreen: implement

This commit is contained in:
bbedward
2025-07-24 14:56:58 -04:00
parent 71be8bdeec
commit 8bcac36be3
9 changed files with 1133 additions and 74 deletions

View File

@@ -10,6 +10,7 @@ import qs.Modules.ControlCenter
import qs.Modules.Settings
import qs.Modules.ProcessList
import qs.Modules.ControlCenter.Network
import qs.Modules.Lock
import qs.Modals
import qs.Services
@@ -18,6 +19,11 @@ ShellRoot {
WallpaperBackground {}
Lock {
id: lock
anchors.fill: parent
}
// Multi-monitor support using Variants
Variants {
model: Quickshell.screens
@@ -52,6 +58,9 @@ ShellRoot {
powerConfirmModal.powerConfirmMessage = message;
powerConfirmModal.powerConfirmVisible = true;
}
onLockRequested: {
lock.activate();
}
}
WifiPasswordModal {