1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-04 12:52: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
parent 60786921a9
commit 4750a7553b
7 changed files with 61 additions and 5 deletions

View File

@@ -527,6 +527,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

@@ -350,6 +350,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" },