implemented toggle option (to be invoked from dwm)

master
Maarten van Gompel 4 years ago
parent 414f84070f
commit 53f31f060b
  1. 4
      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

Loading…
Cancel
Save