From dcd591a6ee550cf48a36027ffb947c846681ff9d Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Tue, 05 Oct 2021 02:42:46 +0000
Subject: [PATCH] wslg removes the need for setting display

---
 mailcap/.mailcap |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mailcap/.mailcap b/mailcap/.mailcap
index 9c6a9d5..1a01990 100644
--- a/mailcap/.mailcap
+++ b/mailcap/.mailcap
@@ -31,8 +31,8 @@
 
 # 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; vlc '%s' --width 640 --height 480; test=test -n "$DISPLAY"
+video/x-youtube; mpv '%s'
 
 # Mpv is a simple and effective video streamer
 video/*; mpv '%s' --autofit 640x480 --loop=inf; test=test -n "$DISPLAY"

--
Gitblit v1.9.3