[rofi] Back to vimb and some ff shortcuts
This commit is contained in:
@ -2,7 +2,7 @@ configuration {
|
|||||||
modi: "window,run,ssh,combi";
|
modi: "window,run,ssh,combi";
|
||||||
width: 50;
|
width: 50;
|
||||||
lines: 7;
|
lines: 7;
|
||||||
terminal: "alacritty";
|
terminal: "kitty";
|
||||||
font: "Inconsolata 10";
|
font: "Inconsolata 10";
|
||||||
show-icons: true;
|
show-icons: true;
|
||||||
combi-modi: "window,drun,ssh";
|
combi-modi: "window,drun,ssh";
|
||||||
|
|||||||
@ -22,17 +22,17 @@ declare -A URLS
|
|||||||
# https://b-ok.cc/s/?q="
|
# https://b-ok.cc/s/?q="
|
||||||
#
|
#
|
||||||
URLS=(
|
URLS=(
|
||||||
["books"]="http://b-ok.cc/s/"
|
["books"]="http://1lib.us/s/"
|
||||||
["amazon"]="https://www.amazon.com/s?k="
|
["amazon"]="https://www.amazon.com/s?k="
|
||||||
["stackoverflow"]="http://stackoverflow.com/search?q="
|
["stackoverflow"]="http://stackoverflow.com/search?q="
|
||||||
["code"]="https://searchcode.com/?q="
|
["code"]="https://searchcode.com/?q="
|
||||||
["invidous"]="https://invidio.us/search?q="
|
|
||||||
["beer"]="https://www.beeradvocate.com/search/?qt=beer&q="
|
["beer"]="https://www.beeradvocate.com/search/?qt=beer&q="
|
||||||
["jira"]="https://15five-dev.atlassian.net/browse/ENG-"
|
["jira"]="https://15five-dev.atlassian.net/browse/ENG-"
|
||||||
["maps"]="https://www.openstreetmap.com/search?query="
|
["booty"]="https://thepiratebay.zone/search/"
|
||||||
["pirate"]="https://thepiratebay.zone/search/"
|
|
||||||
["search"]="https://search.unbl.ink/?q="
|
["search"]="https://search.unbl.ink/?q="
|
||||||
["ebay"]="https://www.ebay.com/sch/i.html?LH_BIN=1&_nkw="
|
["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
|
# List for rofi
|
||||||
@ -66,7 +66,7 @@ main() {
|
|||||||
|
|
||||||
if [[ -n "$query" ]]; then
|
if [[ -n "$query" ]]; then
|
||||||
URL=${URLS[$platform]}$(urlencode "$query")
|
URL=${URLS[$platform]}$(urlencode "$query")
|
||||||
qutebrowser --target window $URL
|
vimb $URL
|
||||||
else
|
else
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -18,4 +18,4 @@ if [ "$URL" = "" ]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
qutebrowser --target private-window "$URL"
|
vimb -i "$URL"
|
||||||
|
|||||||
@ -22,4 +22,4 @@ if [ "$URL" = "" ]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
qutebrowser --target window "$URL"
|
vimb "$URL"
|
||||||
|
|||||||
Reference in New Issue
Block a user