Added sxmo_keyboard script that acts as an intermediary to opening and closing the keyboard

This commit is contained in:
Maarten van Gompel 2021-03-15 13:49:46 +01:00
parent c51414257e
commit 4eb914265d
10 changed files with 44 additions and 17 deletions

View file

@ -75,10 +75,10 @@ if [ "$HANDLE" -ne 0 ]; then
sxmo_vol.sh down &
;;
"showkeyboard")
pidof "$KEYBOARD" || "$KEYBOARD" &
sxmo_keyboard.sh open
;;
"hidekeyboard")
pkill -9 "$KEYBOARD"
sxmo_keyboard.sh close
;;
"showmenu")
pidof dmenu || setsid -f sxmo_appmenu.sh &