From c5ed8ef1f9ff179ea359e7ac2dbd705a5135ee9d Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Tue, 7 Sep 2021 13:26:51 +0300 Subject: [PATCH] Simpler image-related mailcap --- lynx/.mailcap | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/lynx/.mailcap b/lynx/.mailcap index 77e78fc..45bfad1 100644 --- a/lynx/.mailcap +++ b/lynx/.mailcap @@ -1,19 +1,7 @@ application/epub+zip; zat '%s'; test=test -n "$DISPLAY" application/pdf; zat '%s'; test=test -n "$DISPLAY" application/vnd.gnupg.wks; gpg-wks-client -v --read --send; needsterminal; description=WKS message -image/gif; sxiv '%s'; test=test -n "$DISPLAY" -image/jpeg; sxiv '%s'; test=test -n "$DISPLAY" -image/jxl; sxiv '%s'; test=test -n "$DISPLAY" -image/png; sxiv '%s'; test=test -n "$DISPLAY" -image/webp; sxiv '%s'; test=test -n "$DISPLAY" -image/x-djvu; zat '%s'; test=test -n "$DISPLAY" -image/x-portable-anymap; sxiv '%s'; test=test -n "$DISPLAY" -image/x-portable-arbitrarymap; sxiv '%s'; test=test -n "$DISPLAY" -image/x-portable-bitmap; sxiv '%s'; test=test -n "$DISPLAY" -image/x-portable-floatmap; sxiv '%s'; test=test -n "$DISPLAY" -image/x-portable-graymap; sxiv '%s'; test=test -n "$DISPLAY" -image/x-portable-pixmap; sxiv '%s'; test=test -n "$DISPLAY" -image/x-xpixmap; sxiv '%s'; test=test -n "$DISPLAY" +image/*; sxiv '%s'; test=test -n "$DISPLAY" text/html; lynx -noreferer -partial -assume_charset=%{charset} -dump %s; copiousoutput; nametemplate=%s.html text/info; info '%s'; needsterminal text/plain; less '%s'; needsterminal -- 2.44.0