]> Sergey Matveev's repositories - dotfiles.git/blobdiff - lynx/.mailcap
Simpler image-related mailcap
[dotfiles.git] / lynx / .mailcap
index f90c6608dbd5aad1fd761a80a6acd2b7390e28b8..45bfad145b044ce43d57a44bafbc985d7f105a4c 100644 (file)
@@ -1,10 +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/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/*; 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