aboutsummaryrefslogtreecommitdiff
path: root/mutt/mailcap
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-06-21 00:40:46 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-06-21 00:40:46 +1200
commitdd5d1b2ee5156dfc01eb2c73265e4be6fc175958 (patch)
tree081b46350312514064f767b47ac8ab8826250639 /mutt/mailcap
parentMerge branch 'release/v9.24.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-9.25.0.tar.gz (sig)
dotfiles-9.25.0.zip
Merge branch 'release/v9.25.0'v9.25.0
* release/v9.25.0: Add notmuch-mutt macro Adopt pared-down custom mailcap for Mutt
Diffstat (limited to 'mutt/mailcap')
-rw-r--r--mutt/mailcap11
1 files changed, 11 insertions, 0 deletions
diff --git a/mutt/mailcap b/mutt/mailcap
new file mode 100644
index 00000000..3ce21d24
--- /dev/null
+++ b/mutt/mailcap
@@ -0,0 +1,11 @@
+# Simple mailcap for a terminal-only Mutt; I generally download everything
+# anyway and deal with it on a shell, or pass it to a GUI machine.
+#
+text/html; lynx -dump -force_html %s; \
+ copiousoutput; \
+ description=HTML; \
+ nametemplate=%s.html
+application/pdf; pdftotext -layout -nopgbrk -q %s -; \
+ copiousoutput; \
+ description=PDF; \
+ nametemplate=%s.pdf