updated mailcap settings to fullscreen youtube media in tuir

This commit is contained in:
tomit4 2022-03-08 12:28:13 -08:00
parent 4afef11524
commit aeb6743307

View file

@ -37,7 +37,8 @@ image/*; feh -F -Z -x -. '%s'; test=test -n "$DISPLAY"
# Youtube videos are assigned a custom mime-type, which can be streamed with
# vlc or youtube-dl.
#video/x-youtube; vlc '%s' --width 640 --height 480; test=test -n "$DISPLAY"
video/x-youtube; mpv --ytdl-format=bestvideo+bestaudio/best '%s' --autofit=640x480; test=test -n "$DISPLAY"
# video/x-youtube; mpv --ytdl-format=bestvideo+bestaudio/best '%s' --autofit=640x480; test=test -n "$DISPLAY"
video/x-youtube; mpv --ytdl-format=bestvideo+bestaudio/best '%s' --fs --loop=inf; test=test -n "$DISPLAY"
# Mpv is a simple and effective video streamer
video/*; mpv '%s' --fs --loop=inf; test=test -n "$DISPLAY"