From b4729bbc91fa5ed119fdc0a988c8dbc63d757098 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sun, 19 Sep 2021 21:54:45 +0300 Subject: [PATCH] lynx does not support wildcard MIMEs --- lynx/.mailcap | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/lynx/.mailcap b/lynx/.mailcap index 9b1aa7d..b4ba8c2 100644 --- a/lynx/.mailcap +++ b/lynx/.mailcap @@ -1,8 +1,19 @@ 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/jpeg; sxiv '%s'; test=test -n "$DISPLAY" +image/jxl; sxiv '%s'; test=test -n "$DISPLAY" +image/png; sxiv '%s'; test=test -n "$DISPLAY" +image/tiff; sxiv '%s'; test=test -n "$DISPLAY" +image/webp; sxiv '%s'; test=test -n "$DISPLAY" image/x-djvu; zat '%s'; test=test -n "$DISPLAY" -image/*; sxiv '%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" 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