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.py35
1 files changed, 11 insertions, 24 deletions
diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py
index 4d53e39..2470922 100644
--- a/.config/qutebrowser/config.py
+++ b/.config/qutebrowser/config.py
@@ -21,7 +21,7 @@ c.tabs.background = True
c.tabs.position = "top"
c.content.autoplay = False
-c.editor.command = ['alacritty', '-e' 'nvim', '{}']
+c.editor.command = ['foot', 'nvim', '{}']
c.url.default_page = "about:blank"
# searches
@@ -31,20 +31,9 @@ c.url.searchengines['g'] = 'http://www.google.com/search?hl=en&source=hp&ie=ISO-
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['aw'] = 'https://www.amazon.com/s?k={}'
c.url.searchengines['w'] = 'https://www.google.com/search?q={}+site%3Awired.com'
-c.url.searchengines['e'] = 'https://duckduckgo.com/?q={}+site%3Ahttps%3A%2F%2Fwww.elliotoracle.com%2Fblog%2F&t=fpas&ia=web'
+c.url.searchengines['t'] = 'https://duckduckgo.com/?q={}+site%3Ahttps%3A%2F%2Fwww.elliotoracle.com%2Fblog%2F&t=fpas&ia=web'
-# aliases
-c.aliases['lx'] = 'open -t https://luxagraf.net/'
-c.aliases['st'] = 'open -t https://awstats.luxagraf.net/cgi-bin/awstats.pl?config=luxagraf.net'
-c.aliases['co'] = 'open -t https://live.luxagraf.net/admin/django_comments/comment/'
-c.aliases['wm'] = 'open -t https://webmail.luxagraf.net/rainloop/'
-c.aliases['ad'] = 'open -t https://live.luxagraf.net/admin/'
-
-# ====================== Special Format Yanking =========== {{{
-config.bind("<y><o>", "yank inline [{title}]({url})")
-# }}}
# block JS out of the box:
c.content.javascript.enabled = False
@@ -85,20 +74,20 @@ interceptor.register(filter_yt)
# keybinds
+# fix J/K
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')
-# Userscripts
-# search history/bookmarks in dmenu
-config.bind (',m', 'spawn --userscript dmenu-open ', mode='normal')
-config.bind (',o', 'spawn --userscript dmenu-open ', mode='normal')
-config.bind (',O', 'spawn --userscript dmenu-open --tab', mode='normal')
+# get rid of things I always hit accidentally
+config.unbind('<Ctrl+v>')
+config.unbind('<Ctrl+q>')
+config.unbind('<Ctrl+h>')
+# Userscripts
# call readability on page
-config.bind (',r', 'spawn --userscript readability', mode='normal')
+config.bind (',r', 'spawn --userscript myread.py', mode='normal')
#download current or hinted video
config.bind(';y', 'spawn --userscript youtube-dl')
@@ -115,6 +104,8 @@ config.bind (',F', 'open --tab {primary}')
config.bind (',e', 'open-editor')
+# clear cookies
+config.bind('co', 'spawn bisc', mode='normal')
#config.set("colors.webpage.darkmode.enabled", True)
# save bookmark to luxagraf
@@ -142,12 +133,8 @@ config.set(
"content.host_blocking.whitelist",
[
"duckduckgo.com",
- "github.com",
- "stackoverflow.com",
- "seekingalpha.com",
],
)
-
solarized = {
'base03': '#002b36',
'base02': '#073642',