diff options
author | Matthew Lemon <y@yulqen.org> | 2023-05-03 20:15:56 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-05-03 20:15:56 +0100 |
commit | 70d5f6d7a146cc8f8d6cc71703eb8b3f70245a62 (patch) | |
tree | cf6aef5f754096069fba3ded9a5e7eb7ce3422e8 /mutt/mailcap | |
parent | 21b2c998efa2fa99ba4015ff2ef100514e0142d6 (diff) |
Adds neomutt and all the stuff to Debian
Diffstat (limited to 'mutt/mailcap')
-rw-r--r-- | mutt/mailcap | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/mutt/mailcap b/mutt/mailcap new file mode 100644 index 0000000..3657f08 --- /dev/null +++ b/mutt/mailcap @@ -0,0 +1,24 @@ +# MS Word documents +# DONT HAVE A SOLUTION YET: application/msword; ~/.mutt/view_attachment.sh %s "-" '/Applications/TextEdit.app' + +# Images +image/jpg; ~/.mutt/view_attachment.sh %s jpg feh +image/jpeg; ~/.mutt/view_attachment.sh %s jpg feh +image/pjpeg; ~/.mutt/view_attachment.sh %s jpg gpicview +image/png; ~/.mutt/view_attachment.sh %s png gpicview +image/gif; ~/.mutt/view_attachment.sh %s gif gpicview + +# PDFs +application/pdf; ~/.mutt/view_attachment.sh %s pdf zathura + +# HTML +#text/html; ~/.mutt/view_attachment.sh %s html w3m # try different +# text/html; w3m %s; nametemplate=%s.html +# text/html; w3m -dump %s; nametemplate=%s.html; copiousoutput +text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput + +# Plain Text +text/plain; cat; copiousoutput; edit=$VISUAL %s + +# Unidentified files +application/octet-stream; ~/.mutt/view_attachment.sh %s "-" |