diff --git a/.bash_aliases b/.bash_aliases index 722dab5..90e2899 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -19,4 +19,5 @@ alias myconfigfiles='git --git-dir=$HOME/.myconfigfiles.git --work-tree=$HOME' alias revealjs='pandoc -s -t revealjs -V revealjs-url=../../lib/reveal.js --slide-level 2 --css ../../lib/css/style.css -o' alias md2pdf='pandoc -V geometry:left=3cm,right=2.5cm,top=2.5cm,bottom=2.5cm -o' -alias mpvlow='mpv --ytdl-format=bestvideo[height\<=480]+bestaudio' +alias mpvlow='mpv --ytdl-format=worstvideo[height\>=480]+bestaudio/480p/worst' +alias mpvhigh='mpv --ytdl-format=bestvideo[height\<=1080]+bestaudio/1080p/best' diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index 7f068cc..4f56d19 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -18,11 +18,11 @@ config.bind('w', 'set-cmd-text -s :open -t', mode='normal') config.bind('W', 'set-cmd-text -s :open -t {url:pretty}', mode='normal') config.bind('Fy', 'hint links yank-primary', mode='normal') config.bind('yy', 'yank -s', mode='normal') -config.bind('Ev', 'spawn --detach mpv --ytdl-format=worstvideo[height>=480]+bestaudio {url}', mode='normal') -config.bind('EV', 'spawn --detach mpv --ytdl-format=bestvideo[height<=1080]+bestaudio {url}', mode='normal') +config.bind('Ev', 'spawn --detach mpv --ytdl-format=worstvideo[height>=480]+bestaudio/480p/worst {url}', mode='normal') +config.bind('EV', 'spawn --detach mpv --ytdl-format=bestvideo[height<=1080]+bestaudio/1080p/best {url}', mode='normal') config.bind('Ea', 'spawn --detach mpv --no-video --force-window=yes {url}', mode='normal') -config.bind('Fv', 'hint links spawn --detach mpv --ytdl-format=worstvideo[height>=480]+bestaudio {hint-url}', mode='normal') -config.bind('FV', 'hint links spawn --detach mpv --ytdl-format=bestvideo[height<=1080]+bestaudio {hint-url}', mode='normal') +config.bind('Fv', 'hint links spawn --detach mpv --ytdl-format=worstvideo[height>=480]+bestaudio/480p/worst {hint-url}', mode='normal') +config.bind('FV', 'hint links spawn --detach mpv --ytdl-format=bestvideo[height<=1080]+bestaudio/1080p/best {hint-url}', mode='normal') config.bind('Fa', 'hint links spawn --detach mpv --no-video --force-window=yes {hint-url}', mode='normal') config.unbind('F') config.bind('', 'back', mode='normal')