-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mailcap
37 lines (32 loc) · 1.19 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
text/html; elinks -dump-charset %{charset} -dump %s; \
test=elinks -version >/dev/null; copiousoutput;
application/pdf; zathura %s; test=zathura -h;
application/pdf; mupdf %s;
application/postscript; zathura %s; test=zathura -h;
application/x-dvi; evince %s;
image/vnd.djvu; djview %s;
application/x-tex; vim %s; needsterminal;
application/x-latex; vim %s; needsterminal;
text/x-diff; vim %s; needsterminal;
text/x-patch; vim %s; needsterminal;
text/plain; vim %s; needsterminal;
image/gif; ffplay -loop 0 %s;
image/svg; eog %s;
image/*; imv %s; test=imv -h;
image/*; feh -. %s; test=feh --version; test=sh -c 'test $DISPLAY';
image/*; eog %s; test=eog -h;
audio/*; mpv %s;
audio/*; ffplay %s;
audio/*; play %s;
video/*; mpv %s;
video/*; ffplay %s;
application/x-cue; mpv %s;
text/x-cue; mpv %s;
application/vnd.openxmlformats-officedocument.wordprocessingml.document; \
docx2txt %s; nametemplate=%s.docx; copiousoutput;
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; \
xls2txt %s; copiousoutput;
application/vnd.ms-excel; xls2txt %s; copiousoutput;
application/msword; antiword -f %s; copiousoutput;
application/zip; unzip -lv %s; copiousoutput;
application/zip; vim %s; needsterminal