added another layer between the power button press and the keyboard script, with option to override using a hook
parent
325fdf76ec
commit
36535ebfe3
1 changed files with 11 additions and 0 deletions
@ -0,0 +1,11 @@ |
||||
#!/usr/bin/env sh |
||||
|
||||
# include common definitions |
||||
# shellcheck source=scripts/core/sxmo_common.sh |
||||
. "$(dirname "$0")/sxmo_common.sh" |
||||
|
||||
if [ -x "$XDG_CONFIG_HOME/sxmo/hooks/powerbutton" ]; then |
||||
"$XDG_CONFIG_HOME/sxmo/hooks/powerbutton" "$@" |
||||
else |
||||
sxmo_keyboard.sh "$@" |
||||
fi |
Loading…
Reference in new issue