diff --git a/scripts/appscripts/sxmo_websearch.sh b/scripts/appscripts/sxmo_websearch.sh index 9cd9f39..f271eba 100755 --- a/scripts/appscripts/sxmo_websearch.sh +++ b/scripts/appscripts/sxmo_websearch.sh @@ -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}"