diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py index f604f3e..36a433a 100644 --- a/qutebrowser/.config/qutebrowser/config.py +++ b/qutebrowser/.config/qutebrowser/config.py @@ -16,22 +16,23 @@ c.url.searchengines = { } c.messages.timeout = 5000 -# c.content.proxy = 'socks://tor.local:9050/' config.set("scrolling.smooth", True) config.set("url.default_page", "http://search.unbl.ink") config.set("url.start_pages", "https://search.unbl.ink") -config.set("fonts.hints", "bold 10pt monospace") +config.set("fonts.hints", "bold 12pt monospace") config.set("fonts.statusbar", "10pt monospace") config.set("fonts.completion.entry", "10pt monospace") config.set("zoom.default", "100%") config.set("downloads.location.directory", "/home/powellc/tmp") config.set("downloads.location.prompt", False) +config.set("tabs.show", "multiple") config.bind("wo", "set-cmd-text -s :open -w") config.bind("wd", "close") config.bind( ",n", 'config-cycle content.user_stylesheets /home/powellc/.config/qutebrowser/darculized-all-sites.css ""', ) +config.bind(",p", "config-cycle content.proxy none socks://tor.local:9050/") c.aliases["cs"] = "config-source" diff --git a/rofi/.config/rofi/web-search.sh b/rofi/.config/rofi/web-search.sh index 3d41dd6..805e0ee 100755 --- a/rofi/.config/rofi/web-search.sh +++ b/rofi/.config/rofi/web-search.sh @@ -66,7 +66,7 @@ main() { if [[ -n "$query" ]]; then URL=${URLS[$platform]}$(urlencode "$query") - /usr/local/bin/vimb $URL + ~/.asdf/shims/qutebrowser --target window $URL else exit fi diff --git a/rofi/.config/rofi/www-incognito.sh b/rofi/.config/rofi/www-incognito.sh new file mode 100755 index 0000000..003931a --- /dev/null +++ b/rofi/.config/rofi/www-incognito.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +AGENT="Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090913 Firefox/3.5.3" +OPTS=-u "$AGENT" -z 1.1 +#OPTS="-z 1.5" +HISTORY=~/var/rofi-www-history + +if [ "$1" = "" ]; then + URL=$(cat $HISTORY | rofi -hide-scrollbar -dmenu -p "URL: ") + echo "$URL" | grep -e ^http || CLIP=https://$CLIP + echo "$URL" >>$HISTORY +fi +#TMP=$(tempfile) +#cat $HISTORY | sort | uniq >>$TMP && mv $TMP $HISTORY +#rm -f $TMP + +if [ "$URL" = "" ]; then + exit 0 +fi + +~/.asdf/shims/qutebrowser --private-window "$URL" diff --git a/rofi/.config/rofi/www.sh b/rofi/.config/rofi/www.sh index 517c2c0..6d65145 100755 --- a/rofi/.config/rofi/www.sh +++ b/rofi/.config/rofi/www.sh @@ -22,4 +22,4 @@ if [ "$URL" = "" ]; then exit 0 fi -/usr/local/bin/vimb "$URL" +~/.asdf/shims/qutebrowser --target window "$URL"