Forráskód Böngészése

[qutebrowser] Move back to qute and add new search

Colin Powell 4 éve
szülő
commit
ee5893f89c

+ 1 - 0
qutebrowser/.config/qutebrowser/autoconfig.yml

@@ -26,6 +26,7 @@ settings:
     https://15five.quip.com: true
     https://app.slack.com: true
     https://mailhog.unbl.ink: true
+    https://media.unbl.ink: true
     https://www.reddit.com: true
   content.register_protocol_handler:
     https://calendar.google.com?cid=%25s: true

+ 4 - 3
rofi/.config/rofi/web-search.sh

@@ -31,8 +31,9 @@ URLS=(
 	["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="
+	["ffcompany"]="https://admin.cloud100.15five.com/admin/dj/company/company/?q="
+	["ffuser"]="https://admin.cloud100.15five.com/admin/dj/user/?q="
+	["ffsamlconf"]="https://admin.cloud100.15five.com/admin/dj/saml2/saml2config/?q="
 )
 
 # List for rofi
@@ -66,7 +67,7 @@ main() {
 
 		if [[ -n "$query" ]]; then
 			URL=${URLS[$platform]}$(urlencode "$query")
-			vimb $URL
+			qutebrowser --target window $URL
 		else
 			exit
 		fi

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

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

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

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