From e5d0f48d254a118941e9ac4490e82eeb667c0282 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Fri, 8 Jan 2021 01:18:13 +0100 Subject: Added qutebrowser darkmode --- .muttrc | 2 +- qutebrowser/config.py | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.muttrc b/.muttrc index 4d5e9c1..b4b02a8 100644 --- a/.muttrc +++ b/.muttrc @@ -14,7 +14,7 @@ auto_view text/html alternative_order text/plain text/enriched text/html set spoolfile = '+INBOX' -set record = "+Send" +set record = "+Sent" set trash = "+Trash" set postponed = "+Drafts" 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('', 'completion-item-focus next', 'command') config.bind('', '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 -- cgit