aboutsummaryrefslogtreecommitdiff
path: root/mailcap
diff options
context:
space:
mode:
authorTimo Wilken2022-12-08 23:55:21 +0100
committerTimo Wilken2022-12-08 23:55:21 +0100
commitac0868aff8d7fcaac8b3dcc1fb89b45cc7e6e940 (patch)
tree50b677ed480d09272aeb38f0012884763524c5c4 /mailcap
parentf0f7ab04b0a988233f71d099cae72a1528485526 (diff)
Convert HTML email to text using lynx
Diffstat (limited to 'mailcap')
-rw-r--r--mailcap9
1 files changed, 9 insertions, 0 deletions
diff --git a/mailcap b/mailcap
new file mode 100644
index 00000000..4636164a
--- /dev/null
+++ b/mailcap
@@ -0,0 +1,9 @@
+# mailcap -*- conf-space -*-
+# When using `auto_view <mimetype>` in muttrc, a command for that MIME type is
+# chosen, only considering those with copiousoutput set. Its output is displayed
+# in place of the attachment directly in the message view.
+
+text/html; lynx -dump %s; copiousoutput; nametemplate=%s.html
+image/*; kitty +kitten icat %s; copiousoutput
+audio/*; mpv --no-video %s
+application/pdf; zathura %s; nametempalte=%s.pdf