Fixed mailcap

This commit is contained in:
capnhawkbill
2020-03-07 16:16:23 +01:00
committed by John Helmert III
parent 471414a031
commit 8ba5b09105

View File

@@ -32,10 +32,10 @@ image/*; feh -g 640x480 -. '%s'; test=test -n "$DISPLAY"
# Youtube videos are assigned a custom mime-type, which can be streamed with # Youtube videos are assigned a custom mime-type, which can be streamed with
# vlc or youtube-dl. # vlc or youtube-dl.
video/x-youtube; vlc '%s' --width 640 --height 480; test=test -n "$DISPLAY" 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"
# Mpv is a simple and effective video streamer # Mpv is a simple and effective video streamer
video/*; mpv '%s' --autofit 640x480 --loop=inf; test=test -n "$DISPLAY" video/*; mpv '%s' --autofit=640x480 --loop=inf; test=test -n "$DISPLAY"
############################################################################### ###############################################################################
# Commands below this point will attempt to display media directly in the # Commands below this point will attempt to display media directly in the