aboutsummaryrefslogtreecommitdiff
path: root/qutebrowser
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2021-01-08 01:18:13 +0100
committerCharles Cabergs <me@cacharle.xyz>2021-01-08 01:18:13 +0100
commite5d0f48d254a118941e9ac4490e82eeb667c0282 (patch)
tree7e6203bd0de77ac9f89849083f51b5566ec1cd8b /qutebrowser
parent3ce48c4323f38d3b61a08e7e2add5543adabe5d7 (diff)
downloaddotfiles-e5d0f48d254a118941e9ac4490e82eeb667c0282.tar.gz
dotfiles-e5d0f48d254a118941e9ac4490e82eeb667c0282.tar.bz2
dotfiles-e5d0f48d254a118941e9ac4490e82eeb667c0282.zip
Added qutebrowser darkmode
Diffstat (limited to 'qutebrowser')
-rw-r--r--qutebrowser/config.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/qutebrowser/config.py b/qutebrowser/config.py
index 6ab0895..7f52a28 100644
--- a/qutebrowser/config.py
+++ b/qutebrowser/config.py
@@ -1,6 +1,6 @@
from qutebrowser.api import interceptor
-# Youtueb ad blocking
+# Youtube ad blocking
def filter_yt(info: interceptor.Request):
url = info.request_url
if (
@@ -12,6 +12,7 @@ def filter_yt(info: interceptor.Request):
interceptor.register(filter_yt)
+
c.aliases = {
'q': 'close',
'sc': 'config-source'
@@ -28,7 +29,7 @@ c.url.searchengines = {
c.fonts.default_family = 'Fira Mono'
c.fonts.hints = 'bold 11pt default_family'
-c.hints.chars = 'asdfghjkl;'
+c.hints.chars = 'asdfghjkl;' # use key in the main row for hints
# c.statusbar.show = 'in-mode'
@@ -45,7 +46,10 @@ config.bind(';v', 'hint links spawn /usr/bin/mpv {hint-url} ;;'
config.bind('<Ctrl-J>', 'completion-item-focus next', 'command')
config.bind('<Ctrl-K>', 'completion-item-focus prev', 'command')
-# c.content.proxy = 'socks://localhost:9050/'
+c.colors.webpage.darkmode.enabled = True # Convert light themed sites to dark theme (very nice result)
+c.colors.webpage.bg = 'black' # Disabling white flash before page loading
+
+# c.content.proxy = 'socks://localhost:9050/' # tor
# base16-qutebrowser (https://github.com/theova/base16-qutebrowser)
# Base16 qutebrowser template by theova