commit cfcf648c54109b5c729f66910916dbe91c45be60 parent 47121333f5ede803b9a2f44ec7e53a893ce036ba Author: Antoine Amarilli <a3nm@a3nm.net> Date: Tue, 5 Aug 2014 23:09:28 +0200 use specific firefox profile Diffstat:
mailcap | | | 12 | ++++++++---- |
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/mailcap b/mailcap @@ -1,9 +1,13 @@ application/pdf; /usr/bin/evince '%s'; test=test "$DISPLAY" != ""; description=Portable Document Format; nametemplate=%s.pdf application/x-pdf; /usr/bin/evince '%s'; test=test "$DISPLAY" != ""; description=Portable Document Format; nametemplate=%s.pdf + image/gif; /usr/bin/mplayer '%s' -text/html; ~/bin/mutt_bgrun firefox %s; nametemplate=%s.html -# text/html; w3m -dump %s; nametemplate=%s.html; copiousoutput + +# mutt is a profile configured to use a proxy that does not really exist +# to ensure that external resources cannot get loaded +# TODO -no-remote allows only one instance at a time, but -P requires it... +text/html; ~/bin/mutt_bgrun iceweasel -P mutt -no-remote %s; nametemplate=%s.html + +# dump with colors, remove useless whitespace text/html; iconv -f %{charset} %s | elinks -dump %{charset} -dump -dump-color-mode 1 /dev/stdin 2>/dev/null | sed 's/ *$//' | sed 's/ //'; copiousoutput -# text/html; links %s; nametemplate=%s.html -# text/html; w3m -dump %s; nametemplate=%s.html; copiousoutput