From 0bf336865e36a27b3e621f7d512b73305754424c Mon Sep 17 00:00:00 2001 From: Paul Walker Date: Wed, 13 Nov 2024 10:25:36 +0000 Subject: [PATCH] import mailcap --- mailcap | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 mailcap 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