summaryrefslogtreecommitdiff
path: root/etc/mailcap
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-10-07 15:43:44 -0400
committerLuke Smith <luke@lukesmith.xyz>2018-10-07 15:43:44 -0400
commit20c014db0955ae6f7075986c5e6c7c8b0d22039c (patch)
treea9ae700520d464d1f167de3c5f6a27c500938199 /etc/mailcap
parentbaba4c6a74f663efc662e3ffd1facba1989008c0 (diff)
better mailcap for html and media
Diffstat (limited to 'etc/mailcap')
-rw-r--r--etc/mailcap7
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/mailcap b/etc/mailcap
index c31107e..519c8a5 100644
--- a/etc/mailcap
+++ b/etc/mailcap
@@ -1,6 +1,7 @@
text/plain; vim %s ;
-text/html; $BROWSER '%s' ;
+text/html; ~/.config/mutt/etc/htmlopen.sh %s ;
text/html; w3m -I %{charset} -T text/html; copiousoutput;
image/*; ~/.config/mutt/etc/muttimage.sh %s ; copiousoutput
-video/*; setsid nohup mpv --quiet %s & disown; copiousoutput
-application/pdf; pdftotext '%s' -; copiousoutput;
+video/*; setsid mpv --quiet %s &; copiousoutput
+application/pdf; cp '%s' /tmp/doc.pdf && setsid zathura /tmp/doc.pdf &; copiousoutput;
+application/pgp-encrypted; gpg -d '%s'; copiousoutput;