aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/qutebrowser/config.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py
index fc80eeb..c238076 100644
--- a/config/qutebrowser/config.py
+++ b/config/qutebrowser/config.py
@@ -1,8 +1,9 @@
import os
# Keybindings
-config.bind('x', 'spawn mpv {url}')
-config.bind(',x', 'hint links spawn mpv {hint-url}')
+mpv_cmd = 'mpv --ytdl-format=best[height<=1080]'
+config.bind('x', f'spawn {mpv_cmd} {{url}}')
+config.bind(',x', f'hint links spawn {mpv_cmd} {{hint-url}}')
config.bind('<Ctrl-l>', 'spawn --userscript password_fill')