import dracula.draw def init(c): c.auto_save.session = True #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.user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.63 Safari/537.36" c.content.tls.certificate_errors = 'block' c.downloads.position = 'bottom' c.fonts.hints = 'bold 18px default_family' c.session.default_name = 'autosave' 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={}', 'ddg': 'https://duckduckgo.com/?q={}', 'kagi': 'https://kagi.com/search?q={}', '!lh': 'http://localhost:{}/', '!12ft': 'http://12ft.io/proxy?q={}/', '!osm': 'https://www.openstreetmap.org/search?query={}', '!cheatsheet': 'https://cheatsheets.zip/?q={}', '!timer': 'https://webuhr.de/timer/#countdown=00:{unquoted}', '!alarm': 'https://webuhr.de/#time={unquoted}', } c.url.start_pages = [ 'https://rss.serguzim.me/', 'http://homeassistant-33:8123/', 'https://status.serguzim.net/' 'https://open.spotify.com/' ] c.zoom.mouse_divider = 0 dracula.draw.blood(c, { 'spacing': { 'vertical': 1, 'horizontal': 3 } })