aboutsummaryrefslogtreecommitdiff
path: root/.mailcap
diff options
context:
space:
mode:
Diffstat (limited to '.mailcap')
-rw-r--r--.mailcap4
1 files changed, 4 insertions, 0 deletions
diff --git a/.mailcap b/.mailcap
index 0135463..a8b171f 100644
--- a/.mailcap
+++ b/.mailcap
@@ -1,2 +1,6 @@
text/html; w3m %s; nametemplate=%s.html
text/html; w3m -dump %s; nametemplate=%s.html; copiousoutput
+application/pdf; evince '%s'; nametemplate=%s.pdf; test=test "$DISPLAY" != ""; description=Portable Document Format
+application/x-pdf; evince '%s'; nametemplate=%s.pdf; test=test "$DISPLAY" != ""; description=Portable Document Format
+application/x-gzpdf; evince '%s'; nametemplate=%s.pdf.gz; test=test "$DISPLAY" != ""; description=Portable Document Format
+application/x-bzpdf; evince '%s'; nametemplate=%s.pdf.bz2; test=test "$DISPLAY" != ""; description=Portable Document Format