From e4a85d0a86f94217f0a7badd64c927e0621e3627 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Mon, 29 Apr 2019 19:52:05 +0100 Subject: Make chromium render html --- Mail/mutt/mailcap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mail/mutt/mailcap') diff --git a/Mail/mutt/mailcap b/Mail/mutt/mailcap index 7daebc7..c145b20 100644 --- a/Mail/mutt/mailcap +++ b/Mail/mutt/mailcap @@ -1,5 +1,5 @@ application/*; mkdir -p /tmp/mutt \; cp %s /tmp/mutt \; rifle /tmp/mutt/$(basename %s) & -text/html; chromium '%s' &; test=test -n "$DISPLAY"; needsterminal; +text/html; cp '%s' '%s.html' && chromium '%s.html' &; test=test -n "$DISPLAY"; needsterminal; text/html; w3m -I %{charset} -T text/html; copiousoutput; text/calendar; mutt-ical.py -i -e "vasil.zlatanov15@imperial.ac.uk" %s application/ics; mutt-ical.py -i -e "vasil.zlatanov15@imperial.ac.uk" %s -- cgit v1.2.3-54-g00ecf