From ec907b0df80ee3df937be8bc42fe7b3ac0646852 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <karel.koci@nic.cz>
Date: Thu, 18 Aug 2016 17:18:03 +0200
Subject: Update mutt configuration

---
 mutt/mailcap | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 mutt/mailcap

(limited to 'mutt/mailcap')

diff --git a/mutt/mailcap b/mutt/mailcap
new file mode 100644
index 0000000..79e7716
--- /dev/null
+++ b/mutt/mailcap
@@ -0,0 +1,11 @@
+##this is used when (v)iewing a text/html attachment:
+##allowing you to browse and "click" links
+##order matters the first entry which passes the test is used
+#gui browser if $DISPLAY is set
+text/html; conkeror "%s" &; test=test -n "$DISPLAY"; nametemplate=%s.html
+#text browser otherwise
+text/html; w3m -v -F -T text/html "%s"; nametemplate=%s.html; needsterminal
+
+##auto_view will use the entry with the copiousoutput part:
+text/html; lynx -stdin -dump -force_html ; copiousoutput
+
-- 
cgit v1.2.3