diff --git a/hosts/modules/gui/sxmo/hooks/sxmo_hook_inputhandler.sh b/hosts/modules/gui/sxmo/hooks/sxmo_hook_inputhandler.sh index 0878b098..614a206f 100755 --- a/hosts/modules/gui/sxmo/hooks/sxmo_hook_inputhandler.sh +++ b/hosts/modules/gui/sxmo/hooks/sxmo_hook_inputhandler.sh @@ -102,6 +102,10 @@ if [ "$STATE" = "screenoff" ]; then # power twice => toggle media player handle_with playerctl play-pause ;; + "powerbutton_three") + # power once during deep sleep often gets misread as power three, so treat these same + handle_with sxmo_state_switch.sh set unlock + ;; esac fi