summaryrefslogtreecommitdiff
path: root/etc/mailcap
diff options
context:
space:
mode:
Diffstat (limited to 'etc/mailcap')
-rw-r--r--etc/mailcap16
1 files changed, 5 insertions, 11 deletions
diff --git a/etc/mailcap b/etc/mailcap
index 45b54f3..519c8a5 100644
--- a/etc/mailcap
+++ b/etc/mailcap
@@ -1,13 +1,7 @@
-#text/html; qutebrowser %s &; test=test -n "$DISPLAY"; needsterminal;
-
+text/plain; vim %s ;
+text/html; ~/.config/mutt/etc/htmlopen.sh %s ;
text/html; w3m -I %{charset} -T text/html; copiousoutput;
-#text/html; mv %s %s.html && qutebrowser %s.html > /dev/null; needsterminal;
-#
-application/pdf; mv %s %s.pdf && i3 exec mupdf %s.pdf > /dev/null; needsterminal;
-
image/*; ~/.config/mutt/etc/muttimage.sh %s ; copiousoutput
-
-#application/pdf; pdftotext '%s' -; copiousoutput; description=PDF Document;
-#nametemplate=%s.pdf
-#
-text/plain; vim %s ;
+video/*; setsid mpv --quiet %s &; copiousoutput
+application/pdf; cp '%s' /tmp/doc.pdf && setsid zathura /tmp/doc.pdf &; copiousoutput;
+application/pgp-encrypted; gpg -d '%s'; copiousoutput;