-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmailcap
41 lines (36 loc) · 1.81 KB
/
mailcap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# HTML
text/html; w3m -I %{charset} -T text/html; copiousoutput;
# PDF
application/pdf; zathura %s;
application/x-pdf; zathura %s;
application/postscript; zathura %s;
# MS Excel
application/x-msexcel; libreoffice --calc %s;
application/ms-exc; libreoffice --calc %s;
application/excel; libreoffice --calc %s;
application/msexcel; libreoffice --calc %s;
application/vnd.ms-exc; libreoffice --calc %s;
application/vnd.ms-excel; libreoffice --calc %s;
# MS Word
application/msword; libreoffice --writer %s;
application/vnd.sun.xml.writer; libreoffice --writer %s;
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; libreoffice --writer %s;
application/vnd.openxmlformats-officedocument.spreadsheetml.template; libreoffice --writer %s;
application/vnd.openxmlformats-officedocument.presentationml.template; libreoffice --writer %s;
application/vnd.openxmlformats-officedocument.presentationml.slideshow; libreoffice --writer %s;
application/vnd.openxmlformats-officedocument.presentationml.presentation; libreoffice --writer %s;
application/vnd.openxmlformats-officedocument.presentationml.slide; libreoffice --writer %s;
application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice --writer %s;
application/vnd.openxmlformats-officedocument.wordprocessingml.template; libreoffice --writer %s;
application/vnd.ms-excel.addin.macroEnabled.12; libreoffice --writer %s;
application/vnd.ms-excel.sheet.binary.macroEnabled.12; libreoffice --writer %s;
# Images
image/jpeg; sxiv %s;
image/pjpeg; sxiv %s;
image/png; sxiv %s;
image/gif; sxiv %s;
image/tiff; sxiv %s;
# Calendar (press `m` when viewing attachments)
text/ics; gcalcli --calendar '[email protected]' import %s;
text/calendar; gcalcli --calendar '[email protected]' import %s;
application/ics; gcalcli --calendar '[email protected]' import %s;