Made choice for virtual keyboard configurable through the $KEYBOARD environment variable.
This implements what was suggested in the discussion regarding the svkbd patch, it makes the choice of virtual keyboard configurable using the $KEYBOARD variable, rather than hard-coding it.
This commit is contained in:
parent
293bf69871
commit
ace9960926
9 changed files with 21 additions and 20 deletions
|
@ -1,11 +1,11 @@
|
|||
#!/usr/bin/env sh
|
||||
menu() {
|
||||
pidof svkbd-sxmo || svkbd-sxmo &
|
||||
pidof "$KEYBOARD" || "$KEYBOARD" &
|
||||
SEARCHTERMS="$(
|
||||
echo "Close Menu" |
|
||||
dmenu -p "Yt Search" -c -l 10 -fn Terminus-20
|
||||
)"
|
||||
pkill svkbd-sxmo
|
||||
pkill "$KEYBOARD"
|
||||
[ "Close Menu" = "$SEARCHTERMS" ] && exit 0
|
||||
|
||||
IDIOTRESULTS="$(youtube-cli "$SEARCHTERMS")"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue