summaryrefslogtreecommitdiff
path: root/.config/qutebrowser/config.py
diff options
context:
space:
mode:
Diffstat (limited to '.config/qutebrowser/config.py')
-rw-r--r--.config/qutebrowser/config.py45
1 files changed, 27 insertions, 18 deletions
diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py
index 613ede0..9181c43 100644
--- a/.config/qutebrowser/config.py
+++ b/.config/qutebrowser/config.py
@@ -28,11 +28,10 @@ c.url.searchengines['s'] = 'https://www.startpage.com/rvd/search?query={}&langua
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['w'] = 'https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Special%%3ASearch&search={}'
c.url.searchengines['ap'] = 'https://www.archlinux.org/packages/?sort=&q={}'
c.url.searchengines['aw'] = 'https://www.amazon.com/s?k={}'
c.url.searchengines['w'] = 'https://www.google.com/search?q={}+site%3Awired.com'
-c.url.searchengines['gp'] = 'https://podcasts.google.com/?q={}'
+c.url.searchengines['e'] = 'https://duckduckgo.com/?q={}+site%3Ahttps%3A%2F%2Fwww.elliotoracle.com%2Fblog%2F&t=fpas&ia=web'
# aliases
c.aliases['lux'] = 'open -t https://live.luxagraf.net/admin/'
@@ -58,6 +57,7 @@ js_whitelist = [
"*://*.youtube.com/*",
"*://*.luxagraf.net/*"
"*://translate.google.com/*",
+ "*://schoolsfirst.com/*",
]
private_whitelist = os.path.expanduser("~/.config/qutebrowser/private-whitelist")
if os.path.exists(private_whitelist):
@@ -72,6 +72,7 @@ for site in js_whitelist:
# keybinds
config.unbind('J', mode='normal')
config.unbind('K', mode='normal')
+config.unbind('<Ctrl+v>')
config.bind('J', 'tab-prev', mode='normal')
config.bind('K', 'tab-next', mode='normal')
@@ -105,22 +106,30 @@ 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")
-#config.set(
-# "content.host_blocking.lists",
-# [
-# "https://easylist.to/easylist/easylist.txt",
-# "https://easylist.to/easylist/easyprivacy.txt",
-# "https://easylist.to/easylist/fanboy-annoyance.txt",
-# "https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/filters.txt",
-# "https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/annoyances.txt",
-# "https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/badware.txt",
-# "https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/privacy.txt",
-# "https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/resource-abuse.txt",
-# "https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/unbreak.txt",
-# "https://www.malwaredomainlist.com/hostslist/hosts.txt",
-# ],
-#)
+config.source("jblock/jblock/integrations/qutebrowser.py")
+config.set(
+ "content.host_blocking.lists",
+ [
+ "https://easylist.to/easylist/fanboy-annoyance.txt",
+ "https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/filters.txt",
+ "https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/annoyances.txt",
+ "https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/badware.txt",
+ "https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/privacy.txt",
+ "https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/resource-abuse.txt",
+ "https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/unbreak.txt",
+ "https://www.malwaredomainlist.com/hostslist/hosts.txt",
+ ],
+)
+
+config.set(
+ "content.host_blocking.whitelist",
+ [
+ "duckduckgo.com",
+ "github.com",
+ "stackoverflow.com",
+ "seekingalpha.com",
+ ],
+)
solarized = {
'base03': '#002b36',