Fix and simplify the pipecomplete svkbd managing

master
Stacy Harper 4 years ago
parent d8e19504f6
commit 0b79710cb5
No known key found for this signature in database
GPG Key ID: 5BAC92328B7C5D65
  1. 4
      scripts/core/sxmo_pipecomplete.sh

@ -3,14 +3,12 @@ INPUT="$(cat)"
STWIN="$(xprop -root | sed -n '/^_NET_ACTIVE_WINDOW/ s/.* //p')" STWIN="$(xprop -root | sed -n '/^_NET_ACTIVE_WINDOW/ s/.* //p')"
menu() { menu() {
sxmo_keyboard.sh open
RESULT="$( RESULT="$(
printf %b "$( printf %b "$(
echo "Close Menu"; echo "Close Menu";
echo "$INPUT" | grep -Eo '\S+' | tr -d '[:blank:]' | sort | uniq 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() { copy() {

Loading…
Cancel
Save