[rofi] Update search to use surf and qute
This commit is contained in:
@ -32,7 +32,7 @@ URLS=(
|
||||
["booty"]="https://thepiratebay.zone/search/"
|
||||
["search"]="https://search.unbl.ink/?q="
|
||||
["ebay"]="https://www.ebay.com/sch/i.html?LH_BIN=1&_nkw="
|
||||
["ffcompany"]="https://admin.cloud100.15five.com/admin/dj/company/company/?q="
|
||||
["ffcompany"]="https://admin.cloud100.15five.com/admin/dj/company/company/"
|
||||
["ffuser"]="https://admin.cloud100.15five.com/admin/dj/ff/user/?q="
|
||||
["ffsamlconf"]="https://admin.cloud100.15five.com/admin/dj/saml2/saml2config/?q="
|
||||
["mathdisc"]="https://github.com/centerofci/mathesar/discussions/"
|
||||
@ -72,13 +72,13 @@ main() {
|
||||
if [[ -n "$query" ]]; then
|
||||
URL=${URLS[$platform]}$(urlencode "$query")
|
||||
if [[ $platform = 'ffcompany' ]]; then
|
||||
firefox $URL
|
||||
surf $URL
|
||||
elif [[ $platform = 'ffuser' ]]; then
|
||||
firefox $URL
|
||||
surf $URL
|
||||
elif [[ $platform = 'ffsamlconf' ]]; then
|
||||
firefox $URL
|
||||
surf $URL
|
||||
else
|
||||
firefox --new-window $URL
|
||||
qutebrowser --target window $URL
|
||||
fi
|
||||
else
|
||||
exit
|
||||
|
||||
Reference in New Issue
Block a user