summaryrefslogtreecommitdiff
path: root/.config/mutt/mailcap
diff options
context:
space:
mode:
Diffstat (limited to '.config/mutt/mailcap')
-rwxr-xr-x.config/mutt/mailcap12
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/mutt/mailcap b/.config/mutt/mailcap
new file mode 100755
index 0000000..6adcf0d
--- /dev/null
+++ b/.config/mutt/mailcap
@@ -0,0 +1,12 @@
+text/html; qutebrowser %s ; needsterminal; nametemplate=%s.html
+text/html; w3m -I %{charset} -T text/html; copiousoutput;
+#text/html; mv %s %s.html && qutebrowser %s.html > /dev/null; needsterminal;
+text/html; openfile %s ;
+text/plain; $EDITOR %s ;
+image/*; muttimage %s ; copiousoutput
+video/*; setsid mpv --quiet %s &; copiousoutput
+application/pdf; mv %s %s.pdf && zathura %s.pdf > /dev/null; needsterminal;
+application/pdf; openfile %s ;
+application/pgp-encrypted; gpg -d '%s'; copiousoutput;
+application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; xdg-open %s
+application/*; xdg-open %s