aboutsummaryrefslogtreecommitdiff
path: root/config/qutebrowser/ui.py
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2023-03-22 17:17:59 +0530
committerAkshay Nair <phenax5@gmail.com>2023-03-22 17:17:59 +0530
commitedc4ef0106f7d4a37d367e81ae9e6470dbdc7087 (patch)
tree2e49381dbfec01b74d3b91bffc3c75e040742cef /config/qutebrowser/ui.py
parent384f3554cc53cf03fa9a4cf9e1bfa74aaa64a13f (diff)
downloadnixos-config-edc4ef0106f7d4a37d367e81ae9e6470dbdc7087.tar.gz
nixos-config-edc4ef0106f7d4a37d367e81ae9e6470dbdc7087.zip
chore: config sync
Diffstat (limited to '')
-rw-r--r--config/qutebrowser/ui.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/config/qutebrowser/ui.py b/config/qutebrowser/ui.py
index e976f98..aa16249 100644
--- a/config/qutebrowser/ui.py
+++ b/config/qutebrowser/ui.py
@@ -18,8 +18,13 @@ xresources = read_xresources('*')
c.fonts.default_family = 'JetBrainsMono Nerd Font'
c.fonts.default_size = '12px'
c.colors.webpage.preferred_color_scheme = 'dark'
-c.colors.webpage.bg = "white"
-c.colors.webpage.darkmode.enabled = False
+
+c.colors.webpage.darkmode.enabled = True
+c.colors.webpage.darkmode.algorithm = "lightness-cielab"
+c.colors.webpage.darkmode.threshold.text = 150
+c.colors.webpage.darkmode.threshold.background = 100
+c.colors.webpage.darkmode.policy.images = 'always'
+c.colors.webpage.darkmode.grayscale.images = 0.35
## Hints
c.colors.hints.bg = 'yellow'