[qutebrowser] Set webpage bg to grey

Defaults webpage backgrounds to 'davy grey'. Generally, this will be
overwritten in the stylesheet that is automatically applied through
styler. Setting the background color to a dark one does however prevent
the blinding whiteness when first opening a new page in a dark room and
it still has to load (as well as when rapidly switching between tabs).
This commit is contained in:
Marty Oehme 2020-06-15 21:07:21 +02:00
parent fd594e71f4
commit e01b4c885c
No known key found for this signature in database
GPG Key ID: 0CCB0526EFB9611A
2 changed files with 7 additions and 2 deletions

3
.gitignore vendored
View File

@ -16,3 +16,6 @@ nvim/.config/nvim/thesaurus
sponsorblock.db
sponsorblock.db.tmp
sponsorblock.txt
# ignore any just-in-time settings that took place in qutebrowser
qutebrowser/.config/qutebrowser/autoconfig.yml

View File

@ -8,7 +8,7 @@ from qutebrowser.config.configfiles import ConfigAPI # noqa: F401
# qute://help/configuring.html
# qute://help/settings.html
# Uncomment this to still load settings configured via autoconfig.yml
# load additional settings configured via autoconfig.yml
config.load_autoconfig()
c.completion.web_history.max_items = 1000
@ -23,8 +23,8 @@ c.content.host_blocking.lists = [
"http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext",
]
c.content.host_blocking.whitelist = ["piwik.org"]
c.content.autoplay = False
c.content.autoplay = False
c.content.pdfjs = False
c.content.javascript.enabled = False
js_whitelist = [
@ -74,6 +74,8 @@ config.source("colorscheme.py")
# TODO think about implementing a simple toggle for the statusbar
c.statusbar.show = "in-mode"
c.colors.webpage.bg = "#555555"
# FUNCTION
# --------