|
@@ -22,17 +22,17 @@ declare -A URLS
|
|
|
# https://b-ok.cc/s/?q="
|
|
|
#
|
|
|
URLS=(
|
|
|
- ["books"]="http://b-ok.cc/s/"
|
|
|
+ ["books"]="http://1lib.us/s/"
|
|
|
["amazon"]="https://www.amazon.com/s?k="
|
|
|
["stackoverflow"]="http://stackoverflow.com/search?q="
|
|
|
["code"]="https://searchcode.com/?q="
|
|
|
- ["invidous"]="https://invidio.us/search?q="
|
|
|
["beer"]="https://www.beeradvocate.com/search/?qt=beer&q="
|
|
|
["jira"]="https://15five-dev.atlassian.net/browse/ENG-"
|
|
|
- ["maps"]="https://www.openstreetmap.com/search?query="
|
|
|
- ["pirate"]="https://thepiratebay.zone/search/"
|
|
|
+ ["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://15five.15five.com/admin/dj/company/company/?q="
|
|
|
+ ["ffsamlconf"]="https://15five.15five.com/admin/dj/saml2/saml2config/?q="
|
|
|
)
|
|
|
|
|
|
# List for rofi
|
|
@@ -66,7 +66,7 @@ main() {
|
|
|
|
|
|
if [[ -n "$query" ]]; then
|
|
|
URL=${URLS[$platform]}$(urlencode "$query")
|
|
|
- qutebrowser --target window $URL
|
|
|
+ vimb $URL
|
|
|
else
|
|
|
exit
|
|
|
fi
|