[rofi] Switch to firefox

This commit is contained in:
2021-08-20 09:46:56 -04:00
parent 25476f17bf
commit 12a7240b9d
3 changed files with 10 additions and 6 deletions

View File

@ -13,10 +13,10 @@
URL="https://search.unbl.ink/?q="
main() {
# Open rofi for prompt
query=$( rofi -dmenu -matching fuzzy -location 0 -p "Query > " )
query=$(rofi -dmenu -matching fuzzy -location 0 -p "Query > ")
if [[ -n "$query" ]]; then
url=$URL$query
/home/powellc/.asdf/shims/qutebrowser ":open -w $url"
firefox --new-window $url
else
exit
fi