[rofi] Update web search with guru
This commit is contained in:
@ -31,6 +31,7 @@ URLS=(
|
||||
["jira"]="https://15five-dev.atlassian.net/browse/ENG-"
|
||||
["booty"]="https://thepiratebay.zone/search/"
|
||||
["search"]="https://search.unbl.ink/?q="
|
||||
["guru"]="https://app.getguru.com/search?q="
|
||||
["ebay"]="https://www.ebay.com/sch/i.html?LH_BIN=1&_nkw="
|
||||
["ffcompany"]="https://admin.cloud100.15five.com/admin/dj/company/company/"
|
||||
["ffuser"]="https://admin.cloud100.15five.com/admin/dj/ff/user/?q="
|
||||
@ -71,15 +72,7 @@ main() {
|
||||
|
||||
if [[ -n "$query" ]]; then
|
||||
URL=${URLS[$platform]}$(urlencode "$query")
|
||||
if [[ $platform = 'ffcompany' ]]; then
|
||||
surf $URL
|
||||
elif [[ $platform = 'ffuser' ]]; then
|
||||
surf $URL
|
||||
elif [[ $platform = 'ffsamlconf' ]]; then
|
||||
surf $URL
|
||||
else
|
||||
qutebrowser --target window $URL
|
||||
fi
|
||||
qutebrowser --target window $URL
|
||||
else
|
||||
exit
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user