aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-01-19 14:57:16 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-01-19 14:57:16 +0300
commita6e4f0494515b5873d6ab9f2b712a5b7be55a9c4 (patch)
tree35ecfdbb68151ae147147759f673e755c748446c /dotfiles/.config
parent63a1b47ae25179d89c64108bea2c1d70683c0e37 (diff)
downloadswayrice-a6e4f0494515b5873d6ab9f2b712a5b7be55a9c4.tar.gz
swayrice-a6e4f0494515b5873d6ab9f2b712a5b7be55a9c4.zip
Qutebrowser config
* Disable Javascript by default * Set prefers-color-scheme to dark
Diffstat (limited to 'dotfiles/.config')
-rw-r--r--dotfiles/.config/qutebrowser/config.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/dotfiles/.config/qutebrowser/config.py b/dotfiles/.config/qutebrowser/config.py
index 9df249f..282aec5 100644
--- a/dotfiles/.config/qutebrowser/config.py
+++ b/dotfiles/.config/qutebrowser/config.py
@@ -27,6 +27,10 @@ ultramar = {
c.content.notifications = False
+## Disable JS by default
+
+c.content.javascript.enabled = False
+
## Downloads
# Automatically remove finished downloads from list
@@ -46,6 +50,9 @@ c.url.start_pages = "https://srx.yaroslavps.com"
## Default fonts
c.fonts.default_size = "10pt"
+## Prefer dark mode in websites that support it
+c.colors.webpage.prefers_color_scheme_dark = True
+
## Background color of the completion widget category headers.
## Type: QssColor
c.colors.completion.category.bg = ultramar['dark0']