|
@@ -25,6 +25,7 @@ URLS=(
|
|
|
["books"]="http://1lib.us/s/"
|
|
|
["amazon"]="https://www.amazon.com/s?k="
|
|
|
["stackoverflow"]="http://stackoverflow.com/search?q="
|
|
|
+ ["hoogle"]="https://www.google.com/search?q="
|
|
|
["code"]="https://searchcode.com/?q="
|
|
|
["beer"]="https://www.beeradvocate.com/search/?qt=beer&q="
|
|
|
["jira"]="https://15five-dev.atlassian.net/browse/ENG-"
|
|
@@ -32,7 +33,7 @@ URLS=(
|
|
|
["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="
|
|
|
- ["ffuser"]="https://admin.cloud100.15five.com/admin/dj/user/?q="
|
|
|
+ ["ffuser"]="https://admin.cloud100.15five.com/admin/dj/ff/user/?q="
|
|
|
["ffsamlconf"]="https://admin.cloud100.15five.com/admin/dj/saml2/saml2config/?q="
|
|
|
)
|
|
|
|
|
@@ -67,7 +68,15 @@ main() {
|
|
|
|
|
|
if [[ -n "$query" ]]; then
|
|
|
URL=${URLS[$platform]}$(urlencode "$query")
|
|
|
- qutebrowser --target window $URL
|
|
|
+ if [[ $platform = 'ffcompany' ]]; then
|
|
|
+ firefox $URL
|
|
|
+ elif [[ $platform = 'ffuser' ]]; then
|
|
|
+ firefox $URL
|
|
|
+ elif [[ $platform = 'ffsamlconf' ]]; then
|
|
|
+ firefox $URL
|
|
|
+ else
|
|
|
+ qutebrowser --target window $URL
|
|
|
+ fi
|
|
|
else
|
|
|
exit
|
|
|
fi
|