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.
6 lines
124 B
Bash
Executable file
6 lines
124 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
pidof "$KEYBOARD" >&2 || "$KEYBOARD" &
|
|
OUTPUT="$(cat | dmenu "$@")"
|
|
pkill "$KEYBOARD" >&2
|
|
echo "$OUTPUT"
|