myconfig

my config files
git clone https://a3nm.net/git/myconfig/
Log | Files | Refs | README

commit 98390461e048c17ae2e42fe66aa7481ea73c6788
parent 23c0e8df32c4206106b87c36d397b59788ed4c14
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sat,  7 Jul 2018 15:50:38 +0200

avoid weird ebook-edit mailcap entries

Diffstat:
mailcap | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/mailcap b/mailcap @@ -8,7 +8,15 @@ image/*; /usr/bin/feh -.Z '%s' # to ensure that external resources cannot get loaded # TODO -no-remote allows only one instance at a time, but -P requires it... text/html; ~/bin/mutt_bgrun /usr/bin/firefox -P mutt -no-remote %s; nametemplate=%s.html +application/xhtml+xml; ~/bin/mutt_bgrun /usr/bin/firefox -P mutt -no-remote %s; nametemplate=%s.html # dump with colors, remove useless whitespace text/html; iconv -f %{charset} %s | elinks -dump %{charset} -dump -dump-color-mode 1 /dev/stdin 2>/dev/null | sed 's/ *$//' | sed 's/ //'; copiousoutput +application/xhtml+xml; iconv -f %{charset} %s | elinks -dump %{charset} -dump -dump-color-mode 1 /dev/stdin 2>/dev/null | sed 's/ *$//' | sed 's/ //'; copiousoutput +application/docx; libreoffice '%s'; test=test -n "$DISPLAY" +application/doc; libreoffice '%s'; test=test -n "$DISPLAY" +application/vnd.openxmlformats; libreoffice '%s'; test=test -n "$DISPLAY" +application/x-mobi8-ebook; ebook-edit %s; test=test -n "$DISPLAY" +application/epub+zip; fbreader %s; test=test -n "$DISPLAY" +application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice %s; test=test -n "$DISPLAY"