dotfiles/mailcap

15 lines
666 B
Plaintext
Raw Permalink Normal View History

text/html; lynx -dump %s; copiousoutput; nametemplate=%s.html
image/*; feh %s
text/rtf; catdoc %s; nametemplate=%s.rtf
text/*; vim %s
application/pdf; evince %s; nametemplate=%s.pdf
application/x-pdf; evince %s; nametemplate=%s.pdf
application/acrobat; evince %s; nametemplate=%s.pdf
application/postscript; evince %s; nametemplate=%s.ps
application/vnd.pdf; evince %s; nametemplate=%s.pdf
application/msword; catdoc %s; copiousoutput; nametemplate=%s.doc
application/vnd.ms-excel; catdoc %s; copiousoutput; nametemplate=%s.xls
application/vnd.ms-powerpoint; catdoc %s; copiousoutput; nametemplate=%s.ppt
# text/calendar; ~/bin/add-calendar-item %s; needsterminal;