aboutsummaryrefslogtreecommitdiffstats
path: root/mutt/mailcap
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-05-06 15:49:39 +0100
committerMatthew Lemon <y@yulqen.org>2023-05-06 15:49:39 +0100
commit8a8223774923e80d3a65660b8e2329be30f776da (patch)
tree86d0cdc5c5c3477836a64f70d801ae14b606bff5 /mutt/mailcap
parentb23337499a10130828f27ae4b77f65ba41330b10 (diff)
Adds working neomutt config - offlineimap too
Diffstat (limited to 'mutt/mailcap')
-rw-r--r--mutt/mailcap18
1 files changed, 7 insertions, 11 deletions
diff --git a/mutt/mailcap b/mutt/mailcap
index 51443c1..3657f08 100644
--- a/mutt/mailcap
+++ b/mutt/mailcap
@@ -2,24 +2,20 @@
# DONT HAVE A SOLUTION YET: application/msword; ~/.mutt/view_attachment.sh %s "-" '/Applications/TextEdit.app'
# Images
-image/jpg; ~/.mutt/view_attachment.sh %s jpg eog
-image/jpeg; ~/.mutt/view_attachment.sh %s jpg eog
-image/pjpeg; ~/.mutt/view_attachment.sh %s jpg eog
-image/png; ~/.mutt/view_attachment.sh %s png eog
-image/gif; ~/.mutt/view_attachment.sh %s gif eog
-#
-# patches
-text/x-patch; vimdiff '%s'; needsterminal
+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 evince
+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
-text/html; firefox %s; nametemplate=%s.html
+text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput
# Plain Text
text/plain; cat; copiousoutput; edit=$VISUAL %s