10590f429a39a0c50b730dc07cf973ac05ce5fcc
[dotfiles.git] / email / .config / mutt / mailcap
1 # Fork off a process
2 application/pdf; evince %s;
3 text/html; firefox -new-tab %s & sleep 2;
4
5 # Open document formats
6 application/vnd.oasis.opendocument.text; libreoffice '%s';
7 application/vnd.oasis.opendocument.text-template; libreoffice '%s';
8 application/vnd.oasis.opendocument.text-web; libreoffice '%s';
9 application/vnd.oasis.opendocument.text-master; libreoffice '%s';
10 application/vnd.oasis.opendocument.graphics; libreoffice '%s';
11 application/vnd.oasis.opendocument.graphics-template; libreoffice '%s';
12 application/vnd.oasis.opendocument.presentation; libreoffice '%s';
13 application/vnd.oasis.opendocument.presentation-template; libreoffice '%s';
14 application/vnd.oasis.opendocument.spreadsheet; libreoffice '%s';
15 application/vnd.oasis.opendocument.spreadsheet-template; libreoffice '%s';
16 application/vnd.oasis.opendocument.chart; libreoffice '%s';
17 application/vnd.oasis.opendocument.formula; libreoffice '%s';
18 application/vnd.oasis.opendocument.database; libreoffice '%s';
19 application/vnd.oasis.opendocument.image; libreoffice '%s';
20
21 # Microsoft Office formats
22 application/msword; libreoffice '%s';
23 application/vnd.ms-excel; libreoffice '%s';
24 application/vnd.ms-powerpoint; libreoffice '%s';
25 application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice '%s';
26 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; libreoffice '%s';
27 application/vnd.openxmlformats-officedocument.presentationml.presentation; libreoffice '%s';
28
29 # All the autoview
30 text/html; w3m -I %{charset} -T text/html; copiousoutput;
31 application/pdf; pdftotext '%s' -; copiousoutput;
32 application/msword; libreoffice --headless --cat '%s'; copiousoutput;
33 application/ics; khal printics '%s'; copiousoutput;
34 application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice --headless --cat '%s'; copiousoutput;
35 application/vnd.oasis.opendocument.text; libreoffice --headless --cat '%s'; copiousoutput;