Tobias Reisinger
6f6ca6f79d
Add new features to ansible-vault-manager Add search engines to qutebrowser Add location to waybar weather
45 lines
1.3 KiB
Python
45 lines
1.3 KiB
Python
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.custom = {
|
|
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
|
|
}
|
|
#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={}'
|
|
}
|
|
c.url.start_pages = ['rss.serguzim.me', 'open.spotify.com']
|
|
|
|
c.zoom.mouse_divider = 0
|
|
|
|
dracula.draw.blood(c, {
|
|
'spacing': {
|
|
'vertical': 1,
|
|
'horizontal': 3
|
|
}
|
|
})
|