Use $BROWSER for search script and actually close if user hits close menu
This commit is contained in:
parent
c0bf16468b
commit
372b9501a7
1 changed files with 2 additions and 2 deletions
|
@ -4,6 +4,6 @@ SEARCHQUERY="$(
|
|||
echo "Close Menu" | dmenu -t -p "Search Query:" -c -fn "Terminus-20" -l 20
|
||||
)"
|
||||
pkill svkbd-sxmo
|
||||
[[ "Close Menu" == "$SEARCHQUERY" ]] && exit 0
|
||||
echo "$SEARCHQUERY" | grep . || exit 0
|
||||
|
||||
surf "https://duckduckgo.com/?q=${SEARCHQUERY}"
|
||||
$BROWSER "https://duckduckgo.com/?q=${SEARCHQUERY}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue