diff --git a/scripts/core/sxmo_keyboard.sh b/scripts/core/sxmo_keyboard.sh index 55637a3..4237edf 100755 --- a/scripts/core/sxmo_keyboard.sh +++ b/scripts/core/sxmo_keyboard.sh @@ -16,7 +16,9 @@ close() { pkill "$KEYBOARD" } -if [ "$1" = "close" ]; then +if [ "$1" = "toggle" ]; then + close || open +elif [ "$1" = "close" ]; then close else open