From a653477b7f12af224a69e27d9150d96bbd3c8203 Mon Sep 17 00:00:00 2001 From: Phantop Date: Tue, 7 Mar 2023 11:20:28 -0500 Subject: [PATCH] qute: add redirects, turn off dark, update to qt6 --- qutebrowser/config.py | 5 ----- qutebrowser/redirects.py | 4 ++++ qutebrowser/theme.py | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 4721eaa..181abb6 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -1,9 +1,4 @@ config.load_autoconfig(False) - -import socket -if socket.gethostname() == 'wheatley': - c.zoom.default = 125 - c.content.fullscreen.window = True c.content.user_stylesheets = ['adblock.css', 'dracula.css', 'user.css'] diff --git a/qutebrowser/redirects.py b/qutebrowser/redirects.py index a6f5966..ce356c2 100644 --- a/qutebrowser/redirects.py +++ b/qutebrowser/redirects.py @@ -56,6 +56,10 @@ map = { "discord.com" : o(s, 'canary.discord.com'), "tumblr.com" : o(s, 'splashblr.fly.dev'), "www.npr.org" : o(s, 'text.npr.org'), + + "www.goodreads.com" : o(s, 'bl.vern.cc'), + "genius.com" : o(s, 'db.vern.cc'), + "stackoverflow.com" : o(s, 'ao.vern.cc'), } def f(info: i.Request): if (info.resource_type != i.ResourceType.main_frame or diff --git a/qutebrowser/theme.py b/qutebrowser/theme.py index 00c615a..7980e0a 100644 --- a/qutebrowser/theme.py +++ b/qutebrowser/theme.py @@ -46,7 +46,7 @@ cct.selected.odd.fg = 'black' cc.messages.warning.bg = 'red' cc.messages.warning.border = 'red' -cc.webpage.darkmode.enabled = True +#cc.webpage.darkmode.enabled = True cc.webpage.preferred_color_scheme = 'dark' cc.webpage.darkmode.policy.images = 'never'