From: Sergey Matveev Date: Sat, 17 Jul 2021 11:31:01 +0000 (+0300) Subject: DjVu MIME X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=0c8955ce42458643b554f37be144c824a3115147 DjVu MIME --- 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