diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-07-29 11:39:12 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-07-29 11:39:12 +0200 |
| commit | 7c637ff008bb5af66832f2ee19b94c90400771ab (patch) | |
| tree | 83e36c0efee226d7391e3b15ba6496ab84907ad9 /config/qutebrowser | |
| parent | 8f0d39b58a116398a0c0652e706df626e1de226b (diff) | |
| download | dotfiles-7c637ff008bb5af66832f2ee19b94c90400771ab.tar.gz dotfiles-7c637ff008bb5af66832f2ee19b94c90400771ab.tar.bz2 dotfiles-7c637ff008bb5af66832f2ee19b94c90400771ab.zip | |
Added mpv user script to change youtube video quality
Diffstat (limited to 'config/qutebrowser')
| -rw-r--r-- | config/qutebrowser/config.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py index 580fd40..7daca47 100644 --- a/config/qutebrowser/config.py +++ b/config/qutebrowser/config.py @@ -69,7 +69,7 @@ config.bind( hint links spawn /usr/bin/mpv --ytdl-raw-options=yes-playlist= - --ytdl-format="bestvideo[height<=480][fps<=30]+bestaudio/best[height<=480][fps<=30]" + --ytdl-format="bestvideo[height<=?480][fps<=?30]+bestaudio/best" {hint-url} ;; message-info "opening in video player" """.replace('\n', ' ') @@ -92,6 +92,8 @@ config.bind('k', 'scroll-page 0 -0.05', 'normal') config.unbind('d', 'normal') config.bind('dd', 'tab-close', 'normal') +# Can't create a shortcut to toggle darkmode since it requires a restart +# (qute://help/settings.html#colors.webpage.darkmode.enabled) c.colors.webpage.darkmode.enabled = True # Convert light themed sites to dark theme c.colors.webpage.preferred_color_scheme = 'dark' c.colors.webpage.darkmode.policy.images = 'smart' |
