mirror of
https://github.com/Phantop/dotfiles
synced 2025-11-27 06:35:43 +00:00
qute: add redirects, turn off dark, update to qt6
This commit is contained in:
parent
bf9fc0db90
commit
a653477b7f
|
|
@ -1,9 +1,4 @@
|
||||||
config.load_autoconfig(False)
|
config.load_autoconfig(False)
|
||||||
|
|
||||||
import socket
|
|
||||||
if socket.gethostname() == 'wheatley':
|
|
||||||
c.zoom.default = 125
|
|
||||||
|
|
||||||
c.content.fullscreen.window = True
|
c.content.fullscreen.window = True
|
||||||
c.content.user_stylesheets = ['adblock.css', 'dracula.css', 'user.css']
|
c.content.user_stylesheets = ['adblock.css', 'dracula.css', 'user.css']
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,10 @@ map = {
|
||||||
"discord.com" : o(s, 'canary.discord.com'),
|
"discord.com" : o(s, 'canary.discord.com'),
|
||||||
"tumblr.com" : o(s, 'splashblr.fly.dev'),
|
"tumblr.com" : o(s, 'splashblr.fly.dev'),
|
||||||
"www.npr.org" : o(s, 'text.npr.org'),
|
"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):
|
def f(info: i.Request):
|
||||||
if (info.resource_type != i.ResourceType.main_frame or
|
if (info.resource_type != i.ResourceType.main_frame or
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ cct.selected.odd.fg = 'black'
|
||||||
cc.messages.warning.bg = 'red'
|
cc.messages.warning.bg = 'red'
|
||||||
cc.messages.warning.border = 'red'
|
cc.messages.warning.border = 'red'
|
||||||
|
|
||||||
cc.webpage.darkmode.enabled = True
|
#cc.webpage.darkmode.enabled = True
|
||||||
cc.webpage.preferred_color_scheme = 'dark'
|
cc.webpage.preferred_color_scheme = 'dark'
|
||||||
cc.webpage.darkmode.policy.images = 'never'
|
cc.webpage.darkmode.policy.images = 'never'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue