NixOS-Configs/home/common/files/neomutt/mailcap
2024-07-19 20:34:24 -05:00

51 lines
4 KiB
Text

application/octet-stream; catdoc '%s' ; copiousoutput
text/calendar; mutt-ics; copiousoutput
application/ics; mutt-ics; copiousoutput
application/ms-tnef; tnef -w %s; copiousoutput
application/msword; catdoc '%s' ; copiousoutput
application/octet-stream; unzip -v %s ; copiousoutput
application/pdf; mutt_bgrun pdfview %s; needsterminal; nametemplate=%s.pdf; test=test -n $WAYLAND_DISPLAY
application/pdf; pdftotext '%s' -; copiousoutput
application/pgp-keys; pgp -f < %s ; copiousoutput
application/vnd.ms-excel; excel2text %s; copiousoutput
application/x-vCalendar; mutt-remind
application/x-zip-compressed; unzip -v %s ; copiousoutput
application/vnd.openxmlformats-officedocument.wordprocessingml.document; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY'
application/vnd.openxmlformats-officedocument.wordprocessingml.document; docx2txt '%s'; copiousoutput
application/msword; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY'
application/msword; catdoc '%s' ; copiousoutput
application/vnd.msword; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY'
application/vnd.msword; catdoc %s; copiousoutput
application/excel; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY'
application/excel; excel2text %s; copiousoutput
application/msexcel; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY'
application/msexcel; excel2text %s; copiousoutput
application/vnd.ms-excel; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY'
application/vnd.ms-excel; excel2text %s; copiousoutput
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY'
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; excel2text %s; copiousoutput
application/x-excel; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY'
application/x-excel; excel2text %s; copiousoutput
application/x-msexcel; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY'
application/x-msexcel; excel2text %s; copiousoutput
application/ms-Excel; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY'
application/ms-Excel; excel2text %s; copiousoutput
application/vnd.ms-powerpoint; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY'
application/vnd.ms-powerpoint; ppt2text %s; copiousoutput
application/x-mspowerpoint; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY'
application/x-mspowerpoint; ppt2text %s; copiousoutput
application/ppt; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY'
application/ppt; ppt2text %s; copiousoutput
application/x-loimpress; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY'
application/x-loimpress; ppt2text %s; copiousoutput
application/zip; unzip -v %s; copiousoutput
image/*; mutt_bgrun imv %s ; copiousoutput ; test=test -n $DISPLAY
text/directory; mutt.vcard.filter; copiousoutput
text/html; mutt_bgrun /home/don/bin/myweb %s; needsterminal; nametemplate=%s.html; test=test -n $DISPLAY
#text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -dump %s; nametemplate=%s.html; copiousoutput
#text/html; w3m -o display_link_number=1 -I %{charset} -T text/html; copiousoutput;
#text/html; elinks -no-connect 1 -force-html %s; copiousoutput
text/html; links -html-numbered-links 1 -dump -force-html %s; copiousoutput
text/x-vcard; mutt.vcard.filter; copiousoutput
video/mpeg; mutt_bgrun mpv '%s' ; copiousoutput; test=sh -c 'test -n $DISPLAY'
audio/x-wav; mutt_bgrun mpv '%s' ; copiousoutput; test=sh -c 'test -n $DISPLAY'