-
Notifications
You must be signed in to change notification settings - Fork 1
/
mailcap
17 lines (11 loc) · 867 Bytes
/
mailcap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
text/html; chromium_mailcap %s >/dev/null 2>&1; description=HTML Text; test=test -n "$DISPLAY"; nametemplate=%s.html
text/html; lynx_mailcap %s; nametemplate=%s.html; copiousoutput
text/plain; text_mailcap -c %{charset} %s
multipart/alternative; text_mailcap %s
image/*; sxiv %s >/dev/null 2>&1; test=test -n "$DISPLAY"
application/pdf; mupdf-gl %s >/dev/null 2>&1; test=test -n "$DISPLAY"
application/zip; nvim %s;
application/vnd.ms-excel; libreoffice_mailcap %s >/dev/null 2>&1; test=test -n "$DISPLAY"
application/msword; libreoffice_mailcap %s >/dev/null 2>&1; test=test -n "$DISPLAY"
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; libreoffice_mailcap %s >/dev/null 2>&1; test=test -n "$DISPLAY"
application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice_mailcap %s >/dev/null 2>&1; test=test -n "$DISPLAY"