Last active
October 12, 2016 02:11
-
-
Save fwolf/f5bf675c80b818bd1941971853ae2422 to your computer and use it in GitHub Desktop.
Mailcap file for Mutt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mailcap for mutt - By Fwolf | |
# https://gist.github.com/fwolf/f5bf675c80b818bd1941971853ae2422 | |
#application/x-gzip; /bin/gzip -cd '%s'; test=test -n "$DISPLAY" | |
# Fake cap for pgp signature, got better idea ? | |
application/pgp-signature; cat '%s'; copiousoutput | |
image/bmp; display 'bmp:%s'; test=test -n "$DISPLAY" | |
#text/html; lynx -dump -force_html %s; needsterminal; copiousoutput; | |
#text/html; elinks -dump -dump-charset %{charset} -default-mime-type text/html %s; needsterminal; copiousoutput; | |
text/html;\ | |
/usr/bin/google-chrome '%s' & sleep 10;\ | |
description=HTML Text;\ | |
test=test -n "$DISPLAY";\ | |
nametemplate=%s.html; | |
# firefox '%s' & sleep 10;\ | |
#text/html; epiphany '%s' & sleep 3; description=HTML Text; test=test -n "$DISPLAY"; nametemplate=%s.html | |
#text/html; firefox '%s' & sleep 3; description=HTML Text; test=test -n "$DISPLAY"; nametemplate=%s.html | |
text/html;\ | |
w3m -T text/html -I %{charset} -dump %s;\ | |
nametemplate=%s.html;\ | |
copiousoutput | |
application/vnd.ms-word; soffice '%s' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment