From 11a7511e208dae9ad1519cc1dfe65dcff015ee7b Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 11 Apr 2021 14:09:25 +0530 Subject: qutebrowser config changes --- config/qutebrowser/config.py | 4 +++- config/qutebrowser/ui.py | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'config/qutebrowser') 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' -- cgit v1.3.1