Files
dotfiles/mailcap

21 lines
822 B
Plaintext

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
application/vnd.openxmlformats-officedocument.wordprocessingml.document; dump-docx.py %s; copiousoutput