1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-05 06:25:00 +00:00

qute: add redirects, turn off dark, update to qt6

This commit is contained in:
Phantop 2023-03-07 11:20:28 -05:00
parent bf9fc0db90
commit a653477b7f
3 changed files with 5 additions and 6 deletions

View file

@ -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']

View file

@ -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

View file

@ -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'