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:
parent
ed5e5150d6
commit
430b199476
1 changed files with 12 additions and 3 deletions
|
@ -295,11 +295,16 @@ c.colors.tabs.selected.even.bg = base02
|
||||||
|
|
||||||
# %%base16_template_end%%
|
# %%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
|
# 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
|
# Allow notifications
|
||||||
c.content.notifications = True
|
c.content.notifications.enabled = True
|
||||||
|
|
||||||
# Enable spellcheck
|
# Enable spellcheck
|
||||||
c.spellcheck.languages = ['en-US']
|
c.spellcheck.languages = ['en-US']
|
||||||
|
@ -310,4 +315,8 @@ c.tabs.background = True
|
||||||
# Homepage DDG
|
# Homepage DDG
|
||||||
c.url.default_page = 'https://start.duckduckgo.com'
|
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()
|
||||||
|
|
Loading…
Add table
Reference in a new issue