From ffb440066d953391036b6d842e9612680d21bc9b Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Fri, 6 Feb 2015 12:00:30 +0800 Subject: Added 'X-Label' tools & settings to mutt. * mutt-xlabel.py: manipulate labels. --- .mutt/mailcap | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.mutt/mailcap') diff --git a/.mutt/mailcap b/.mutt/mailcap index fd1db6d..d531285 100644 --- a/.mutt/mailcap +++ b/.mutt/mailcap @@ -45,6 +45,9 @@ application/msword; word2text %s; copiousoutput application/vnd.msword; ~/.mutt/mutt_bgrun.sh libreoffice %s; \ test=sh -c 'test -n "${DISPLAY}"' application/vnd.msword; word2text %s; copiousoutput +application/vnd.openxmlformats-officedocument.wordprocessingml.document; \ + ~/.mutt/mutt_bgrun.sh libreoffice %s; \ + test=sh -c 'test -n "${DISPLAY}"' # application/excel; ~/.mutt/mutt_bgrun.sh libreoffice %s; \ test=sh -c 'test -n "${DISPLAY}"' @@ -103,8 +106,8 @@ video/*; ~/.mutt/mutt_bgrun.sh vlc %s; \ # Show archive conents. # application/x-compressed-tar; tar -tf %s; copiousoutput -application/x-gnuzip; gzcat; copiousoutput -application/x-bzip; bunzip2 -c %s | tar -tf -; copiousoutput +application/x-bzip-compressed-tar; \ + bunzip2 -c %s | tar -tf -; copiousoutput application/x-tar-gz; gunzip -c %s | tar -tf -; copiousoutput application/x-7z-compressed; 7z l %s; copiousoutput -- cgit v1.2.2