mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 21:42:51 -05:00
feat: power off monitors when lock screen activates (#1402)
Add ability to immediately power off monitors when the lock screen activates, controlled by a new setting "Power off monitors on lock". Uses a 100ms polling timer to detect when the session lock actually becomes active, then invokes compositor-specific DPMS commands. For niri, uses the new power-off-monitors action via niri msg CLI with socket fallback. Wake on input: first input after lock arms wake, second input actually powers monitors back on while keeping the lock screen visible. Closes #1157
This commit is contained in:
committed by
GitHub
parent
13dededcc9
commit
a685d9da52
@@ -394,6 +394,7 @@ Singleton {
|
||||
property bool lockScreenShowDate: true
|
||||
property bool lockScreenShowProfileImage: true
|
||||
property bool lockScreenShowPasswordField: true
|
||||
property bool lockScreenPowerOffMonitorsOnLock: false
|
||||
|
||||
property bool enableFprint: false
|
||||
property int maxFprintTries: 15
|
||||
|
||||
Reference in New Issue
Block a user