2021-01-28 21:23:04 +00:00
|
|
|
config.load_autoconfig(False)
|
2022-01-15 18:31:54 +00:00
|
|
|
config.source('config/adapta.py')
|
|
|
|
config.source('config/adblock.py')
|
|
|
|
config.source('config/bindings.py')
|
|
|
|
config.source('config/redirects.py')
|
2020-09-06 03:14:57 +00:00
|
|
|
|
2022-01-15 18:31:54 +00:00
|
|
|
c.url.default_page = 'feedly.com/i/my'
|
|
|
|
c.url.start_pages = 'covid19.rpi.edu/dailycheckin'
|
|
|
|
c.url.searchengines['y'] = 'vid.puffyan.us/search?q={}'
|
2020-08-22 20:58:07 +00:00
|
|
|
|
2021-01-28 21:23:04 +00:00
|
|
|
c.url.open_base_url = True
|
2022-01-12 23:02:54 +00:00
|
|
|
c.content.fullscreen.window = True
|
2022-01-13 15:36:39 +00:00
|
|
|
c.colors.webpage.darkmode.enabled = True
|
2020-07-21 03:34:58 +00:00
|
|
|
|
2022-01-15 18:31:54 +00:00
|
|
|
c.tabs.show = 'multiple'
|
|
|
|
c.confirm_quit = ['downloads']
|
|
|
|
c.qt.force_platformtheme = 'gtk2'
|
|
|
|
c.content.cookies.accept = 'no-3rdparty'
|
2022-01-12 23:02:54 +00:00
|
|
|
c.colors.webpage.preferred_color_scheme = 'dark'
|
2022-01-13 15:36:39 +00:00
|
|
|
c.colors.webpage.darkmode.policy.images = 'never'
|
2020-10-24 03:45:26 +00:00
|
|
|
|
2021-09-07 18:31:45 +00:00
|
|
|
c.aliases['re'] = 'restart'
|
2022-01-12 23:02:54 +00:00
|
|
|
c.aliases['mpv'] = 'spawn -mdv mpv --ytdl-raw-options=sub-lang=en'
|
|
|
|
c.aliases['remove-sticky'] = 'jseval -q document.querySelectorAll("*").forEach(e=>{["sticky","fixed"].includes(getComputedStyle(e).position)&&e.parentNode.removeChild(e)})'
|
2022-01-20 05:06:06 +00:00
|
|
|
c.aliases['toggle-dark'] = 'reload;; jseval -qf ~/.config/qutebrowser/greasemonkey/white.js;; stop'
|
2020-10-24 03:45:26 +00:00
|
|
|
|
2021-04-13 14:05:25 +00:00
|
|
|
config.set('content.notifications.enabled', True, 'https://mail.tutanota.com')
|
2021-01-28 21:23:04 +00:00
|
|
|
config.set('content.register_protocol_handler', True, 'https://mail.tutanota.com')
|
2020-12-28 19:14:15 +00:00
|
|
|
|
2021-09-07 18:31:45 +00:00
|
|
|
import socket
|
2022-01-15 18:31:54 +00:00
|
|
|
if socket.gethostname() == 'wheatley':
|
2021-09-07 18:31:45 +00:00
|
|
|
c.zoom.default = 125
|
2022-01-15 18:31:54 +00:00
|
|
|
c.qt.force_software_rendering = 'chromium'
|
2021-10-27 01:10:17 +00:00
|
|
|
|
|
|
|
#import dracula.draw
|
|
|
|
#dracula.draw.blood(c, {'spacing': {'vertical': 1,'horizontal': 0}})
|