Implement context menu for foxtrotgps with copy/paste/search/locations

Rename context menu title for foxtrotgps to Maps and move to top-level menu
This commit is contained in:
Miles Alan 2020-06-22 16:35:44 -05:00
parent 91d6ebb15d
commit 9709accd13
4 changed files with 10808 additions and 17 deletions

View file

@ -5,14 +5,11 @@ STWIN="$(xprop -root | sed -n '/^_NET_ACTIVE_WINDOW/ s/.* //p')"
menu() {
pidof svkbd-sxmo || svkbd-sxmo &
RESULT="$(
echo "Close Menu" &&
echo "$INPUT" |
grep -Eo '\S+' |
tr -d '[:blank:]' |
sort |
uniq |
dmenu -p "$PROMPT" -l 10 -i -c -fn Terminus-20
)"
printf %b "$(
echo "Close Menu";
echo "$INPUT" | grep -Eo '\S+' | tr -d '[:blank:]' | sort | uniq
)" | dmenu -p "$PROMPT" -l 10 -i -c -fn Terminus-20
)"
pkill svkbd-sxmo
}