From 0262cee58e2b58669c2f33d14fd816ee9977c74f Mon Sep 17 00:00:00 2001 From: dan Date: Fri, 3 Jan 2020 10:10:33 +0100 Subject: [PATCH] mailcap --- mailcap | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 mailcap diff --git a/mailcap b/mailcap new file mode 100644 index 0000000..1191be2 --- /dev/null +++ b/mailcap @@ -0,0 +1,11 @@ +application/pdf; /usr/bin/evince %s +text/html; /usr/bin/elinks -dump %s; nametemplate=%s.html; copiousoutput +audio/x-wav; mplayer %s +audio/wave; mplayer %s +audio/mpeg; mplayer %s +image/*; viewnior %s +application/msword; libreoffice %s & sleep 2 +application/vnd.msword; libreoffice %s & sleep 2 +application/rtf; libreoffice %s & sleep 2 +application/vnd.oasis.opendocument.text; libreoffice %s & sleep 2 +application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice %s & sleep 2