diff --git a/mailcap b/mailcap new file mode 100644 index 0000000..f552431 --- /dev/null +++ b/mailcap @@ -0,0 +1,18 @@ +text/html; links -dump %s ; copiousoutput; nametemplate=%s.html + +application/pgp-html; gpg -q -d | links -stdin -dump ; copiousoutput +application/pgp-encrypted; gpg -q -d ; copiousoutput + +# Send html to a running firefox by remote +#text/html; firefox -remote 'openURL(%s)'; test=RunningFirefox + +# If I'm not running firefox but I am running X, start firefox on the +# object +#text/html; firefox %s; test=RunningX + +# This version would convert the text/html to text/plain +# text/html; links -dump %s; copiousoutput + +# text/calendar; khal import -a 1c4af6ff-2ace-40c4-b626-81902099e590 %s +# application/ics; khal import -a 1c4af6ff-2ace-40c4-b626-81902099e590 %s +application/pdf; mupdf %s