]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Simpler image-related mailcap
authorSergey Matveev <stargrave@stargrave.org>
Tue, 7 Sep 2021 10:26:51 +0000 (13:26 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Tue, 7 Sep 2021 10:26:51 +0000 (13:26 +0300)
lynx/.mailcap

index 77e78fc65e57f549d1ae305ad2950949c94df5ec..45bfad145b044ce43d57a44bafbc985d7f105a4c 100644 (file)
@@ -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