Ver Fonte

[rofi] Back to vimb and some ff shortcuts

Colin Powell há 4 anos atrás
pai
commit
de473a15d6

+ 1 - 1
rofi/.config/rofi/config.rasi

@@ -2,7 +2,7 @@ configuration {
 	modi: "window,run,ssh,combi";
 	width: 50;
 	lines: 7;
-	terminal: "alacritty";
+	terminal: "kitty";
 	font: "Inconsolata 10";
 	show-icons: true;
 	combi-modi: "window,drun,ssh";

+ 5 - 5
rofi/.config/rofi/web-search.sh

@@ -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

+ 1 - 1
rofi/.config/rofi/www-incognito.sh

@@ -18,4 +18,4 @@ if [ "$URL" = "" ]; then
 	exit 0
 fi
 
-qutebrowser --target private-window "$URL"
+vimb -i "$URL"

+ 1 - 1
rofi/.config/rofi/www.sh

@@ -22,4 +22,4 @@ if [ "$URL" = "" ]; then
 	exit 0
 fi
 
-qutebrowser --target window "$URL"
+vimb "$URL"