fix(pos): replacement reboot and cancel buttons

This commit is contained in:
doryan 2024-09-14 23:08:07 +04:00
parent 3a444abf7e
commit 2ec419cee4

View File

@ -348,12 +348,12 @@ menu-0-2-exec = menu-open-3
menu-0-2-foreground = ${colors.warning} menu-0-2-foreground = ${colors.warning}
;Reboot ;Reboot
menu-1-0 = "Cancel" menu-1-0 = "Reboot"
menu-1-0-exec = menu-open-0 menu-1-0-exec = loginctl reboot
menu-1-0-foreground = ${colors.success} menu-1-0-foreground = ${colors.urgent}
menu-1-1 = "Reboot" menu-1-1 = "Cancel "
menu-1-1-exec = loginctl reboot menu-1-1-exec = menu-open-0
menu-1-1-foreground = ${colors.urgent} menu-1-1-foreground = ${colors.success}
;Shutdown ;Shutdown
menu-2-0 = "Power off" menu-2-0 = "Power off"