import mailcap

This commit is contained in:
2024-11-13 10:25:36 +00:00
parent 3ed2b31213
commit 0bf336865e

18
mailcap Normal file
View File

@@ -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