1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-04 21:02:06 -04:00

feat: Add independent power action confirmation settings for dms greeter

This commit is contained in:
purian23
2026-02-25 14:33:09 -05:00
committed by bbedward
parent 366a98e0cc
commit 9f13465cd7
4 changed files with 45 additions and 1 deletions

View File

@@ -528,6 +528,7 @@ Singleton {
property bool osdAudioOutputEnabled: true
property bool powerActionConfirm: true
property bool powerActionConfirmGreeter: true
property real powerActionHoldDuration: 0.5
property var powerMenuActions: ["reboot", "logout", "poweroff", "lock", "suspend", "restart"]
property string powerMenuDefaultAction: "logout"

View File

@@ -351,6 +351,7 @@ var SPEC = {
osdAudioOutputEnabled: { def: true },
powerActionConfirm: { def: true },
powerActionConfirmGreeter: { def: true },
powerActionHoldDuration: { def: 0.5 },
powerMenuActions: { def: ["reboot", "logout", "poweroff", "lock", "suspend", "restart"] },
powerMenuDefaultAction: { def: "logout" },