mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-28 15:36:29 +00:00
Handle long-press system keys only (#1874)
Only handle long-press system power, reboot and sleep keys.
This commit is contained in:
parent
bd52b7e97b
commit
a9c2eedc71
@ -18,9 +18,14 @@
|
|||||||
#KillOnlyUsers=
|
#KillOnlyUsers=
|
||||||
#KillExcludeUsers=root
|
#KillExcludeUsers=root
|
||||||
#InhibitDelayMaxSec=5
|
#InhibitDelayMaxSec=5
|
||||||
#HandlePowerKey=poweroff
|
HandlePowerKey=ignore
|
||||||
#HandleSuspendKey=suspend
|
HandlePowerKeyLongPress=poweroff
|
||||||
#HandleHibernateKey=hibernate
|
HandleRebootKey=ignore
|
||||||
|
HandleRebootKeyLongPress=reboot
|
||||||
|
HandleSuspendKey=ignore
|
||||||
|
HandleSuspendKeyLongPress=suspend
|
||||||
|
HandleHibernateKey=ignore
|
||||||
|
HandleHibernateKeyLongPress=hibernate
|
||||||
HandleLidSwitch=ignore
|
HandleLidSwitch=ignore
|
||||||
HandleLidSwitchExternalPower=ignore
|
HandleLidSwitchExternalPower=ignore
|
||||||
HandleLidSwitchDocked=ignore
|
HandleLidSwitchDocked=ignore
|
||||||
|
Loading…
x
Reference in New Issue
Block a user