aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2021-04-11 14:09:25 +0530
committerAkshay Nair <phenax5@gmail.com>2021-04-11 14:09:25 +0530
commit11a7511e208dae9ad1519cc1dfe65dcff015ee7b (patch)
treeb1a7a6a5ae2570c543fd1b590dce0e816cd8f9a9
parent32238d63e5f9540d2cd4016df64a3939dbc2cd8e (diff)
downloadnixos-config-11a7511e208dae9ad1519cc1dfe65dcff015ee7b.tar.gz
nixos-config-11a7511e208dae9ad1519cc1dfe65dcff015ee7b.zip
qutebrowser config changes
-rw-r--r--config/qutebrowser/config.py4
-rw-r--r--config/qutebrowser/ui.py5
2 files changed, 6 insertions, 3 deletions
diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py
index 2ea2c22..2d0fb54 100644
--- a/config/qutebrowser/config.py
+++ b/config/qutebrowser/config.py
@@ -274,12 +274,13 @@ c.url.searchengines = {
'sx': 'https://searx.fmac.xyz/?q={}',
'q': 'https://www.qwant.com/search?q={}',
'd': 'https://duckduckgo.com/?q={}',
- 'go': 'https://google.com/?q={}',
+ 'go': 'https://google.com/search?q={}',
# Dev stuff
'bp': 'https://bundlephobia.com/result?p={}',
'rs': 'https://crates.io/search?q={}',
'ciu': 'https://caniuse.com/#search={}',
+ 'npm': 'https://www.npmjs.com/search?q={}',
'g': 'https://github.com/{}',
'gh': 'http://github.com/search?q={}',
'hg': 'http://www.haskell.org/hoogle/?hoogle={}',
@@ -307,6 +308,7 @@ c.aliases['view-google-cache'] = 'open --tab http://www.google.com/search?q=cach
# c.aliases['xa'] = 'quit --save'
c.aliases['h'] = 'help'
+
# }}}
#### Dev {{{
diff --git a/config/qutebrowser/ui.py b/config/qutebrowser/ui.py
index 5259115..fc376b8 100644
--- a/config/qutebrowser/ui.py
+++ b/config/qutebrowser/ui.py
@@ -17,9 +17,10 @@ xresources = read_xresources('*')
c.fonts.default_family = 'JetBrains Mono'
c.fonts.default_size = '12px'
-c.colors.webpage.prefers_color_scheme_dark = True
+c.colors.webpage.preferred_color_scheme = 'dark'
+# c.colors.webpage.prefers_color_scheme_dark = True
c.colors.webpage.bg = "white"
-c.colors.webpage.darkmode.enabled = True
+c.colors.webpage.darkmode.enabled = False
## Hints
c.colors.hints.bg = 'yellow'