From e83c4515e0179221e7315abb606452ab2f7b561d Mon Sep 17 00:00:00 2001 From: Paul Iannetta Date: Thu, 21 Apr 2022 23:53:31 +0200 Subject: add partial mutt config --- .config/mutt/mailcap | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 .config/mutt/mailcap (limited to '.config/mutt/mailcap') diff --git a/.config/mutt/mailcap b/.config/mutt/mailcap new file mode 100755 index 0000000..5732650 --- /dev/null +++ b/.config/mutt/mailcap @@ -0,0 +1,11 @@ +text/html; firefox %s >/dev/null 2>&1; nametemplate=%s.html; test=test -n "$DISPLAY"; +text/html; elinks %s; nametemplate=%s.html; copiousoutput +application/pdf; mutt_bgrun /usr/bin/zathura %s >/dev/null 2>&1; +image/png; mutt_bgrun sxiv %s >/dev/null 2>&1; +image/jpeg; mutt_bgrun sxiv %s >/dev/null 2>&1; +video/mp4; mutt_bgrun mpv %s >/dev/null 2>&1; +application/vnd.ms-excel; mutt_bgrun libreoffice %s >/dev/null 2>&1; +application/vnd.oasis.opendocument.text; mutt_bgrun libreoffice '%s' >/dev/null 2>&1; +application/vnd.openxmlformats-officedocument.wordprocessingml.document; mutt_bgrun libreoffice '%s' >/dev/null 2>&1; +application/vnd.oasis.opendocument.spreadsheet; mutt_bgrun libreoffice '%s' >/dev/null 2>&1; +application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; mutt_bgrun libreoffice '%s' >/dev/null 2>&1; -- cgit v1.2.3-54-g00ecf