commit fdf7e78f9e30b7c73a31548db0f7bb9f4e1c970c parent 429034708b4e130cc75b8c180f58a55c0f219ec9 Author: Chris Bracken <chris@bracken.jp> Date: Tue, 5 May 2020 14:50:31 -0700 Update mutt mailcap file Use cat for plain text. Use sxiv for image viewing. Use xpdf for PDF viewing. Diffstat:
M | .config/mutt/mailcap | | | 21 | ++++++++++++--------- |
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/.config/mutt/mailcap b/.config/mutt/mailcap @@ -1,15 +1,18 @@ -# Images -image/jpg; eog %s -image/jpeg; eog %s -image/pjpeg; eog %s -image/png; eog %s -image/gif; eog %s - -# PDFs -application/pdf; evince %s +# Text +text/plain; cat %s; copiousoutput # HTML text/html; w3m -I %{charset} -dump %s; nametemplate=%s.html; copiousoutput +# Images +image/jpg; sxiv %s +image/jpeg; sxiv %s +image/pjpeg; sxiv %s +image/png; sxiv %s +image/gif; sxiv %s + +# PDFs +application/pdf; xpdf %s + # GPG application/pgp-encrypted; gpg --decrypt; copiousoutput