-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_mailcap
28 lines (23 loc) · 1.41 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
text/html; w3m -I %{charset} -T text/html; needsterminal;
text/html; w3m -I %{charset} -T text/html -dump %s; copiousoutput;
text/*; less %s
image/*; feh %s >/dev/null; test=test -n "$DISPLAY"
audio/*; vlc %s; test=test -n "$DISPLAY"
video/*; vlc %s; test=test -n "$DISPLAY"
application/pdf; zathura '%s'; test=test -n "$DISPLAY"
application/pdf; pdftotext -layout %s -; copiousoutput
application/rtf; lowriter '%s'; test=test -n "$DISPLAY"
application/msword; lowriter '%s'; test=test -n "$DISPLAY"
application/ms-excel; localc '%s'; test=test -n "$DISPLAY"
application/vnd.ms-excel; localc '%s'; test=test -n "$DISPLAY"
application/ms-powerpoint; loimpress '%s'; test=test -n "$DISPLAY"
application/vnd.oasis.opendocument.text; libreoffice '%s'; test=test -n "$DISPLAY"
application/vnd.oasis.opendocument.spreadsheet; localc '%s'; test=test -n "$DISPLAY"
application/vnd.oasis.opendocument.presentation; loimpress '%s'; test=test -n "$DISPLAY"
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; localc '%s'; test=test -n "$DISPLAY"
application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice '%s'; test=test -n "$DISPLAY"
application/x-tar; tar tvf %s; copiousoutput
application/x-tar-gz; tar tvfz %s; copiousoutput
application/x-zip-compressed; unzip -v %s; copiousoutput
application/zip; unzip -v %s; copiousoutput
application/pgp-keys; gpg --import --interactive --verbose; needsterminal