Configure qutebrowser for version 2.2

Mostly just renaming a few config directives. Also support launching mpv
from the browser.
This commit is contained in:
Trysdyn Black 2021-04-04 21:08:32 -07:00
parent ed5e5150d6
commit 430b199476

View file

@ -295,11 +295,16 @@ c.colors.tabs.selected.even.bg = base02
# %%base16_template_end%%
### END COLOR SCHEME
# Don't autoplay video, especially since we'll export it to MPV
c.content.autoplay = False
# Sites that honor UA pref will serve dark themes
c.colors.webpage.prefers_color_scheme_dark = True
c.colors.webpage.preferred_color_scheme = 'dark'
# Allow notifications
c.content.notifications = True
c.content.notifications.enabled = True
# Enable spellcheck
c.spellcheck.languages = ['en-US']
@ -310,4 +315,8 @@ c.tabs.background = True
# Homepage DDG
c.url.default_page = 'https://start.duckduckgo.com'
config.load_autoconfig
# Custom bindings
config.bind(',m', 'spawn mpv {url}')
config.bind(',M', 'hint links spawn mpv {hint-url}')
config.load_autoconfig()