]> gitweb.michael.orlitzky.com - mutt.git/blob - mailcap-epiphany
muttrc: add example "alternates" line.
[mutt.git] / mailcap-epiphany
1 # We avoid using "nametemplate" because it uses a predictable filename
2 # under /tmp. The "needsterminal" forces mutt to wait until you press
3 # Return before it deletes the file; otherwise, Epiphany will notice
4 # that it's gone and show you nothing. Finally, the call to "tidy"
5 # ensures that Epiphany will not balk at the invalid HTML prevalent in
6 # emails. We ignore errors in "tidy" because we expect a bunch of HTML
7 # warnings to remain. The weird subshell construct is there because I
8 # don't know how to escape a semicolon.
9 text/html; (tidy -quiet -modify %s || true) && /usr/bin/epiphany %s; description=HTML Text; test=test -n "$DISPLAY"; needsterminal;