From 0c8955ce42458643b554f37be144c824a3115147 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sat, 17 Jul 2021 14:31:01 +0300 Subject: [PATCH] DjVu MIME --- lynx/.mailcap | 1 + mutt/.mime.types | 1 + 2 files changed, 2 insertions(+) diff --git a/lynx/.mailcap b/lynx/.mailcap index aff2027..d08bffb 100644 --- a/lynx/.mailcap +++ b/lynx/.mailcap @@ -3,6 +3,7 @@ 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" text/html; lynx -noreferer -partial -assume_charset=%{charset} -dump %s; copiousoutput; nametemplate=%s.html text/info; info '%s'; needsterminal text/plain; less '%s'; needsterminal diff --git a/mutt/.mime.types b/mutt/.mime.types index 07f199c..b487f7f 100644 --- a/mutt/.mime.types +++ b/mutt/.mime.types @@ -4,5 +4,6 @@ image/jpeg jpeg image/jpeg jpg image/png png image/webp webp +image/x-djvu djvu text/info info text/plain txt -- 2.44.0