From: W. Trevor King Date: Mon, 28 Nov 2011 21:32:07 +0000 (-0500) Subject: Flesh out .mailcap. X-Git-Tag: v0.3~52 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=67b05bd299c040d360fd134f1738d1e59231eff2;p=dotfiles-framework.git Flesh out .mailcap. --- diff --git a/src/.mailcap b/src/.mailcap index f366bba..8a40ce3 100644 --- a/src/.mailcap +++ b/src/.mailcap @@ -1,4 +1,10 @@ image/*; qiv %s; test=test -n "$DISPLAY" +image/*; fbi -a %s; test=test "$TERM" == "linux"; needsterminal +audio/*; mplayer %s; text/html; /usr/bin/firefox %s; test=test -n "$DISPLAY"; description=HTML Text; nametemplate %s.html +text/html; w3m -T text/html %s #text/html; w3m -T text/html %s; description=HTML Text; nametemplate %s.html -application/pdf; /usr/bin/xpdf %s; test=test -n "$DISPLAY"; description=Portable Document Format; nametemplate=%s.pdf +#application/pdf; /usr/bin/xpdf %s; test=test -n "$DISPLAY"; description=Portable Document Format; nametemplate=%s.pdf +application/pdf; /usr/bin/evince %s; test=test -n "$DISPLAY"; description=Portable Document Format; nametemplate=%s.pdf +application/pdf; /usr/bin/fbgs %s; test=test "$TERM" == "linux"; description=Portable Document Format; nametemplate=%s.pdf; needsterminal +application/msword; /usr/bin/ooffice %s; test=test "$DISPLAY" != ""; description=MS Word Document Format; nametemplate=%s.doc