Fix minor issues

This commit is contained in:
Tobias Reisinger 2022-05-15 23:46:53 +02:00
parent 2a51281db8
commit 4a6de219fe
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
7 changed files with 11 additions and 5 deletions

View file

@ -0,0 +1,35 @@
import dracula.draw
def init(c):
#c.colors.webpage.darkmode.enabled = True
#c.colors.webpage.darkmode.policy.images = 'never'
c.colors.webpage.preferred_color_scheme = 'dark'
#c.content.proxy = "socks://localhost:9050/"
c.content.headers.accept_language = "en-US,en;q=0.5"
c.content.headers.custom = {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
}
c.content.tls.certificate_errors = 'block'
c.downloads.position = 'bottom'
c.fonts.hints = 'bold 18px default_family'
c.tabs.background = True
c.tabs.mousewheel_switching = False
c.tabs.new_position.related = 'last'
c.tabs.pinned.frozen = False
c.qt.workarounds.remove_service_workers = True
c.url.searchengines = {
'DEFAULT': 'https://duckduckgo.com/?q={}',
}
dracula.draw.blood(c, {
'spacing': {
'vertical': 1,
'horizontal': 3
}
})