From: Sergey Matveev Date: Tue, 7 Sep 2021 10:26:51 +0000 (+0300) Subject: Simpler image-related mailcap X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=c5ed8ef1f9ff179ea359e7ac2dbd705a5135ee9d Simpler image-related mailcap --- 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