diff --git a/scripts/core/sxmo_powerbutton.sh b/scripts/core/sxmo_powerbutton.sh index 5cec671..b63de09 100755 --- a/scripts/core/sxmo_powerbutton.sh +++ b/scripts/core/sxmo_powerbutton.sh @@ -5,7 +5,7 @@ . "$(dirname "$0")/sxmo_common.sh" if [ -x "$XDG_CONFIG_HOME/sxmo/hooks/powerbutton" ]; then - "$XDG_CONFIG_HOME/sxmo/hooks/powerbutton" "$@" + "$XDG_CONFIG_HOME/sxmo/hooks/powerbutton" else - sxmo_keyboard.sh "$@" + sxmo_keyboard.sh toggle fi