aboutsummaryrefslogtreecommitdiff
path: root/config/qutebrowser
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2023-12-24 12:25:03 +0530
committerAkshay Nair <phenax5@gmail.com>2023-12-24 15:39:10 +0530
commit6dcf30e323ae94e1c5fd8c34190f81c2bc5cf4c0 (patch)
tree6142a086365c5576e72515307efbf79232b95fa1 /config/qutebrowser
parent681ee5e5329f63d1902518994900a70df1c48084 (diff)
downloadnixos-config-6dcf30e323ae94e1c5fd8c34190f81c2bc5cf4c0.tar.gz
nixos-config-6dcf30e323ae94e1c5fd8c34190f81c2bc5cf4c0.zip
config sync
Diffstat (limited to 'config/qutebrowser')
-rw-r--r--config/qutebrowser/config.py6
-rw-r--r--config/qutebrowser/ui.py9
2 files changed, 7 insertions, 8 deletions
diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py
index 9e029f6..7dcfb12 100644
--- a/config/qutebrowser/config.py
+++ b/config/qutebrowser/config.py
@@ -156,8 +156,8 @@ nmap(localleader + 'td', ':toggle-darkmode')
# }}}
#### Sessions {{{
-nmap(leader + 'sl', ':cmd-set-text :session-load ');
-nmap(leader + 'sw', ':cmd-set-text :session-save');
+nmap(leader + 'sl', ':cmd-set-text -s :session-load ');
+nmap(leader + 'sw', ':cmd-set-text -s :session-save');
# }}}
#### Navigation {{{
@@ -207,7 +207,7 @@ nmap('<Ctrl-k>', 'tab-prev')
nmap('<Ctrl-j>', 'tab-next')
nmap('<Ctrl-Shift-k>', 'tab-move -')
nmap('<Ctrl-Shift-j>', 'tab-move +')
-# nmap('b', 'cmd-set-text --space :buffer') # List buffers by index
+nmap('b', 'cmd-set-text -s :tab-select') # List buffers by index
for i in range(1, 10 + 1):
key = 0 if i == 10 else i
diff --git a/config/qutebrowser/ui.py b/config/qutebrowser/ui.py
index f1479f3..85d7f09 100644
--- a/config/qutebrowser/ui.py
+++ b/config/qutebrowser/ui.py
@@ -20,11 +20,10 @@ c.fonts.default_size = '12px'
c.colors.webpage.preferred_color_scheme = 'dark'
c.colors.webpage.darkmode.enabled = False
-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
+# c.colors.webpage.darkmode.algorithm = "lightness-cielab"
+# c.colors.webpage.darkmode.threshold.foreground = 150
+# c.colors.webpage.darkmode.threshold.background = 100
+# c.colors.webpage.darkmode.policy.images = 'always'
## Hints
c.colors.hints.bg = 'yellow'