diff options
Diffstat (limited to '.config/qutebrowser/config.py')
-rw-r--r-- | .config/qutebrowser/config.py | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index 2470922..09965e0 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -25,15 +25,18 @@ c.editor.command = ['foot', 'nvim', '{}'] c.url.default_page = "about:blank" # searches -c.url.searchengines['DEFAULT'] = 'https://duckduckgo.com/?q={}' -c.url.searchengines['s'] = 'https://www.startpage.com/rvd/search?query={}&language=auto' +c.url.searchengines['DEFAULT'] = 'https://www.startpage.com/rvd/search?query={}&language=auto' +# tor +#c.url.searchengines['DEFAULT'] = 'https://3g2upl4pq6kufc4m.onion/?q={}' +c.url.searchengines['s'] = 'https://duckduckgo.com/?q={}' c.url.searchengines['g'] = 'http://www.google.com/search?hl=en&source=hp&ie=ISO-8859-l&q={}' c.url.searchengines['a'] = 'https://wiki.archlinux.org/?search={}' c.url.searchengines['y'] = 'https://www.youtube.com/results?search_query={}' c.url.searchengines['ap'] = 'https://www.archlinux.org/packages/?sort=&q={}' c.url.searchengines['w'] = 'https://www.google.com/search?q={}+site%3Awired.com' -c.url.searchengines['t'] = 'https://duckduckgo.com/?q={}+site%3Ahttps%3A%2F%2Fwww.elliotoracle.com%2Fblog%2F&t=fpas&ia=web' - +c.url.searchengines['t'] = 'https://lite.duckduckgo.com/lite/?q={}%20site%3Ahttps%3A%2F%2Fwww.elliotoracle.com%2Fblog%2F&t=fpas&ia=web' +#tor +#c.content.proxy = 'socks://localhost:9050/' # block JS out of the box: c.content.javascript.enabled = False @@ -43,7 +46,6 @@ js_whitelist = [ "*://127.0.0.1/*", "*://github.com/*", "*://gitlab.com/*", - "*://duckduckgo.com/*", "*://*.youtube.com/*", "*://*.luxagraf.net/*" "*://translate.google.com/*", @@ -82,6 +84,8 @@ config.bind('K', 'tab-next', mode='normal') # get rid of things I always hit accidentally config.unbind('<Ctrl+v>') +# however passthru mode is nice on some sites +config.bind('<Ctrl+Shift+P>', 'enter-mode passthrough', mode='normal') config.unbind('<Ctrl+q>') config.unbind('<Ctrl+h>') @@ -113,10 +117,10 @@ config.bind(',s', "jseval --quiet if(document.getSelection){s=document.getSelect import sys, os -sys.path.append(os.path.join(sys.path[0], "jblock")) -config.source("jblock/jblock/integrations/qutebrowser.py") +#sys.path.append(os.path.join(sys.path[0], "jblock")) +#config.source("jblock/jblock/integrations/qutebrowser.py") config.set( - "content.host_blocking.lists", + "content.blocking.hosts.lists", [ "https://easylist.to/easylist/fanboy-annoyance.txt", "https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/filters.txt", @@ -129,12 +133,12 @@ config.set( ], ) -config.set( - "content.host_blocking.whitelist", - [ - "duckduckgo.com", - ], -) +#config.set( +# "content.blocking.whitelist'", +# [ +# "duckduckgo.com", +# ], +#) solarized = { 'base03': '#002b36', 'base02': '#073642', |