Fix and simplify the pipecomplete svkbd managing

This commit is contained in:
Stacy Harper 2021-05-23 14:25:02 +02:00
parent d8e19504f6
commit 0b79710cb5
No known key found for this signature in database
GPG key ID: 5BAC92328B7C5D65

View file

@ -3,14 +3,12 @@ INPUT="$(cat)"
STWIN="$(xprop -root | sed -n '/^_NET_ACTIVE_WINDOW/ s/.* //p')"
menu() {
sxmo_keyboard.sh open
RESULT="$(
printf %b "$(
echo "Close Menu";
echo "$INPUT" | grep -Eo '\S+' | tr -d '[:blank:]' | sort | uniq
)" | dmenu -p "$PROMPT" -l 10 -i -c
)" | sxmo_dmenu_with_kb.sh -p "$PROMPT" -l 10 -i -c
)"
sxmo_keyboard.sh close
}
copy() {