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.py36
1 files changed, 19 insertions, 17 deletions
diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py
index 4877e36..613ede0 100644
--- a/.config/qutebrowser/config.py
+++ b/.config/qutebrowser/config.py
@@ -32,6 +32,7 @@ c.url.searchengines['w'] = 'https://secure.wikimedia.org/wikipedia/en/w/index.ph
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={}'
# aliases
c.aliases['lux'] = 'open -t https://live.luxagraf.net/admin/'
@@ -90,6 +91,7 @@ config.bind(';yh', 'hint links --userscript youtube-dl')
# watch current or hinted video
config.bind(',yl', 'hint links spawn --detach mpv --force-window yes {hint-url}')
config.bind(',yv', 'spawn --detach mpv --force-window yes {url}')
+config.bind(',ys', 'spawn --userscript youtube-dl')
# open selected text in tab
config.bind (',f', 'open {primary}')
@@ -103,22 +105,22 @@ 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/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",
+# ],
+#)
solarized = {
'base03': '#002b36',
@@ -405,7 +407,7 @@ c.colors.statusbar.url.hover.fg = solarized['base2']
## Foreground color of the URL in the statusbar on successful load
## (http).
## Type: QssColor
-c.colors.statusbar.url.success.http.fg = solarized['base1']
+c.colors.statusbar.url.success.http.fg = solarized['violet']
## Foreground color of the URL in the statusbar on successful load
## (https).