X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/88f76b92feb40236ec3f68ce3a6d23fca1a5f3f6..cb21d3b96c1dc285336f0eb49a099707028d42d4:/mutt/mailcap diff --git a/mutt/mailcap b/mutt/mailcap index 57f8247..7faa4b8 100644 --- a/mutt/mailcap +++ b/mutt/mailcap @@ -6,7 +6,7 @@ application/gzip; zcat | xsltproc $XDG_CONFIG_HOME/mutt/dmarc.xsl - > /tmp/dmar test=[[ '%s' == *rmz.io* ]] application/zip; funzip | xsltproc $XDG_CONFIG_HOME/mutt/dmarc.xsl - > /tmp/dmarc.html && qutebrowser /tmp/dmarc.html ;\ test=[[ '%s' == *rmz.io* ]] -application/gzip; zcat | xmllint --format - ; copiousoutput ; test=[[ '%s' == *rmz.io* ]] -application/zip; funzip | xmllint --format - ; copiousoutput ; test=[[ '%s' == *rmz.io* ]] +application/gzip; zcat | xsltproc $XDG_CONFIG_HOME/mutt/dmarc.xsl - | w3m -dump - -T text/html ; copiousoutput ; test=[[ '%s' == *rmz.io* ]] +application/zip; funzip | xsltproc $XDG_CONFIG_HOME/mutt/dmarc.xsl - | w3m -dump - -T text/html ; copiousoutput ; test=[[ '%s' == *rmz.io* ]] application/*; $XDG_CONFIG_HOME/mutt/mutt_bgrun rifle -f F %s; image/*; rifle -f F %s;