Add -t flag to dmenu for websearch allowing literals irregardless of match

master
Miles Alan 5 years ago
parent 04ef042596
commit ba38ecc702
  1. 2
      scripts/appscripts/sxmo_websearch.sh

@ -1,7 +1,7 @@
#!/usr/bin/env sh
pidof svkbd-sxmo || svkbd-sxmo &
SEARCHQUERY="$(
echo "Close Menu" | dmenu -p "Search Query:" -c -fn "Terminus-20" -l 20
echo "Close Menu" | dmenu -t -p "Search Query:" -c -fn "Terminus-20" -l 20
)"
pkill svkbd-sxmo
[[ "Close Menu" == "$SEARCHQUERY" ]] && exit 0

Loading…
Cancel
Save