1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-11 16:22:09 -04:00

greeter: sync power menu options

This commit is contained in:
bbedward
2026-02-25 14:50:06 -05:00
parent 67a6427418
commit 7a74be83d7
7 changed files with 31 additions and 58 deletions

View File

@@ -1231,9 +1231,12 @@ Item {
LockPowerMenu {
id: powerMenu
showLogout: false
useGreeterPowerSettings: true
greeterPowerActionConfirm: GreetdSettings.powerActionConfirmGreeter
greeterPowerActionHoldDuration: GreetdSettings.powerActionHoldDuration
powerActionConfirmOverride: GreetdSettings.powerActionConfirm
powerActionHoldDurationOverride: GreetdSettings.powerActionHoldDuration
powerMenuActionsOverride: GreetdSettings.powerMenuActions
powerMenuDefaultActionOverride: GreetdSettings.powerMenuDefaultAction
powerMenuGridLayoutOverride: GreetdSettings.powerMenuGridLayout
requiredActions: ["poweroff"]
onClosed: {
if (isPrimaryScreen && inputField && inputField.forceActiveFocus) {
Qt.callLater(() => inputField.forceActiveFocus());