Added sxmo_keyboard script that acts as an intermediary to opening and closing the keyboard
This commit is contained in:
parent
c51414257e
commit
4eb914265d
10 changed files with 44 additions and 17 deletions
|
@ -4,11 +4,11 @@
|
|||
# shellcheck source=scripts/core/sxmo_common.sh
|
||||
. "$(dirname "$0")/sxmo_common.sh"
|
||||
|
||||
pidof "$KEYBOARD" || "$KEYBOARD" &
|
||||
sxmo_keyboard.sh open
|
||||
SEARCHQUERY="$(
|
||||
echo "Close Menu" | dmenu -t -p "Search:" -c -l 20
|
||||
)"
|
||||
pkill "$KEYBOARD"
|
||||
sxmo_keyboard.sh close
|
||||
[ "Close Menu" = "$SEARCHQUERY" ] && exit 0
|
||||
|
||||
echo "$SEARCHQUERY" | grep . || exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue