Skip to content

Commit

Permalink
valve/deck: enable power key handling
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Stewart <[email protected]>
  • Loading branch information
paralin committed Jan 26, 2025
1 parent 1cf6237 commit 351888b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configs/valve/deck/buildroot/systemd
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# enable logind for power button detect
BR2_PACKAGE_SYSTEMD_LOGIND=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[Login]
HandlePowerKey=suspend
HandlePowerKeyLongPress=poweroff
HandleLidSwitch=suspend
HandleLidSwitchExternalPower=suspend
HandleLidSwitchDocked=ignore

0 comments on commit 351888b

Please sign in to comment.