From: Sergey Matveev Date: Sun, 19 Sep 2021 18:54:45 +0000 (+0300) Subject: lynx does not support wildcard MIMEs X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=b4729bbc91fa5ed119fdc0a988c8dbc63d757098 lynx does not support wildcard MIMEs --- 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