2021-01-28 21:23:04 +00:00
|
|
|
config.load_autoconfig(False)
|
2022-02-04 18:17:39 +00:00
|
|
|
config.source('adblock.py')
|
2022-03-11 16:53:26 +00:00
|
|
|
config.source('aliases.py')
|
2022-03-02 03:57:07 +00:00
|
|
|
config.source('color.py')
|
2022-02-04 18:17:39 +00:00
|
|
|
config.source('bindings.py')
|
|
|
|
config.source('javascript.py')
|
|
|
|
config.source('redirects.py')
|
2020-09-06 03:14:57 +00:00
|
|
|
|
2022-03-14 17:58:57 +00:00
|
|
|
c.url.start_pages = c.url.default_page = 'megafocs.herokuapp.com'
|
2022-03-09 19:13:21 +00:00
|
|
|
config.set('content.javascript.enabled', True, c.url.start_pages)
|
2022-04-09 19:38:29 +00:00
|
|
|
c.url.searchengines['DEFAULT'] = 'farside.link/searxng/search?q={}'
|
2022-03-09 19:13:21 +00:00
|
|
|
c.url.searchengines['y'] = 'farside.link/invidious/search?q={}'
|
2022-04-09 19:38:29 +00:00
|
|
|
c.url.searchengines['t'] = 'ao3.org/tags/{}'
|
|
|
|
c.url.searchengines['!'] = 'duckduckgo.com/?q=!{}'
|
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'
|
2022-03-09 19:13:21 +00:00
|
|
|
c.content.fullscreen.window = True
|
2022-02-04 18:17:39 +00:00
|
|
|
c.content.user_stylesheets = 'user.css'
|
2022-01-15 18:31:54 +00:00
|
|
|
c.content.cookies.accept = 'no-3rdparty'
|
2022-03-09 19:13:21 +00:00
|
|
|
c.colors.webpage.darkmode.enabled = True
|
2022-04-09 19:38:29 +00:00
|
|
|
c.content.proxy = 'http://localhost:8118'
|
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'
|
2022-04-09 19:38:29 +00:00
|
|
|
c.completion.open_categories = ["bookmarks","history"]
|
2020-10-24 03:45:26 +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
|