Update qutebrowser config.

This commit is contained in:
CronyAkatsuki 2023-11-05 22:36:22 +01:00
parent 1ed1ee6595
commit b24870ca96

View File

@ -5,6 +5,21 @@ from qutebrowser.config.config import ConfigContainer # noqa: F401
config: ConfigAPI = config # type: ConfigAPI # noqa: F821 pylint: disable=E0602,C0103 pyright: ignore
c: ConfigContainer = c # type: ConfigContainer # noqa: F821 pylint: disable=E0602,C0103 pyright: ignore
# load autoconfig values
config.load_autoconfig()
# load catppuccin theme
catppuccin.setup(c, 'Machiatto', True)
# change startpage
c.url.start_pages = ['https://startpage.cronyakatsuki.xyz']
# launch with mpv
config.bind(',m', 'spawn mpv {url}')
config.bind(',M', 'hint links spawn mpv {hint-url}')
# disable javascript globally
c.content.javascript.enabled = False
# enable dark mode
c.content.webpage.darkmode.enable = True