summaryrefslogtreecommitdiff
path: root/.config/mutt/mailcap
diff options
context:
space:
mode:
authorPaul Iannetta <paul.iannetta@ens-lyon.fr>2022-04-21 23:53:31 +0200
committerPaul Iannetta <paul.iannetta@ens-lyon.fr>2022-04-22 08:24:15 +0200
commite83c4515e0179221e7315abb606452ab2f7b561d (patch)
tree355f7c3fd0e9e05c5d8d7ddc2786521eb8bd8b5c /.config/mutt/mailcap
parente5cb4057fda66962ccb710b460a363bd8aab7414 (diff)
add partial mutt config
Diffstat (limited to '.config/mutt/mailcap')
-rwxr-xr-x.config/mutt/mailcap11
1 files changed, 11 insertions, 0 deletions
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;