diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-07-24 07:16:24 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-07-24 07:16:24 +0200 |
| commit | fcf2ba989bcbe5c79da6177c48e5b973ce735211 (patch) | |
| tree | bbb78031f4df86139ac264fe50b907be1174f7a2 | |
| parent | 15a03ffc2b8ff2945e080d247b0f1e51a773dbbe (diff) | |
| parent | 3037d6bd668640f618b9da384b20058b8e73a974 (diff) | |
| download | dotfiles-fcf2ba989bcbe5c79da6177c48e5b973ce735211.tar.gz dotfiles-fcf2ba989bcbe5c79da6177c48e5b973ce735211.tar.bz2 dotfiles-fcf2ba989bcbe5c79da6177c48e5b973ce735211.zip | |
Merge branch 'master' of cacharle.xyz:/srv/git/dotfiles
| -rw-r--r-- | config/qutebrowser/config.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py index 815d367..b5d0e8a 100644 --- a/config/qutebrowser/config.py +++ b/config/qutebrowser/config.py @@ -61,8 +61,16 @@ c.editor.command = [ c.messages.timeout = 4000 -config.bind(';v', 'hint links spawn /usr/bin/mpv --ytdl-format=best {hint-url} ;;' - 'message-info "opening in video player"') +config.bind( + ';v', + """ + hint links spawn + /usr/bin/mpv + --ytdl-format="bestvideo[height<=480][fps<=30]+bestaudio/best[height<=480][fps<=30]" + {hint-url} ;; + message-info "opening in video player" + """.replace('\n', ' ') +) config.bind('<Ctrl-J>', 'completion-item-focus next', 'command') config.bind('<Ctrl-K>', 'completion-item-focus prev', 'command') |
