dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 4ca0e3f69c1ab4d4a5a813298c4d12b1216ee11e
parent 201282a094fa35573f49177d94d39a6f2ce3e9f6
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Tue, 21 Apr 2020 19:35:28 +0200

Configure use flags for mpv in qutebrowser

Diffstat:
Mqutebrowser/qutebrowser_view_in_mpv.bash | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qutebrowser/qutebrowser_view_in_mpv.bash b/qutebrowser/qutebrowser_view_in_mpv.bash @@ -49,7 +49,7 @@ msg() { MPV_COMMAND=${MPV_COMMAND:-mpv} # Warning: spaces in single flags are not supported -MPV_FLAGS=${MPV_FLAGS:- --no-terminal --force-window --keep-open=yes --no-osc --ytdl --x11-name=mpv-youtube} +MPV_FLAGS=${MPV_FLAGS:- --no-terminal --force-window --keep-open=yes --no-osc --sub-auto=all --ytdl --ytdl-format=best --ytdl-raw-options=sub-format=srt/best,write-sub= --x11-name=mpv-youtube} IFS=" " read -r -a video_command <<< "$MPV_COMMAND $MPV_FLAGS" js() {