mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-06 05:25:41 -05:00
lockscreen: implement
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user