From 880c661227c50d16515f80d1a2bdc6238775946f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= <henrik@tjaders.com> Date: Mon, 23 Apr 2018 21:13:04 +0200 Subject: [PATCH] Reduce resolution for MPV when used on laptop --- .config/qutebrowser/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index 6c7c0f2..175a969 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -67,8 +67,8 @@ c.aliases = {'w': 'session-save', 'q': 'quit', 'wq': 'quit --save'} # Key bindings # Bindings for normal mode -config.bind('m', 'spawn mpv {url}') -config.bind('M', 'hint links spawn mpv {hint-url}') +config.bind('m', 'spawn mpv --ytdl-format=bestvideo[height<=?720][fps<=?30][vcodec!=?vp9]+bestaudio/best {url}') +config.bind('M', 'hint links spawn mpv --ytdl-format=bestvideo[height<=?720][fps<=?30][vcodec!=?vp9]+bestaudio/best {hint-url}') config.bind('t', 'set-cmd-text -s :open -t') -- GitLab