X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/cb21d3b96c1dc285336f0eb49a099707028d42d4..fd2e16fc92dd7a33908ceff1e31f03e05a78fda9:/mutt/mailcap diff --git a/mutt/mailcap b/mutt/mailcap index 7faa4b8..e64064d 100644 --- a/mutt/mailcap +++ b/mutt/mailcap @@ -1,7 +1,7 @@ -text/html; $XDG_CONFIG_HOME/mutt/mutt_bgrun qutebrowser %s; test=test -n "$DISPLAY"; nametemplate=%s.html +text/html; $XDG_CONFIG_HOME/mutt/mutt_bgrun qutebrowser --temp-basedir %s; test=test -n "$DISPLAY"; nametemplate=%s.html text/html; w3m -I %{charset} -dump %s -T text/html -cols "$COLUMNS" -o display_link_number=1; copiousoutput; nametemplate=%s.html text/calendar; $XDG_CONFIG_HOME/mutt/ical2txt; copiousoutput -# generate html from dmarc report, testing against *rmz.io* because all other tests were to difficult +# generate html from dmarc report, testing against *rmz.io* because all other tests were too difficult application/gzip; zcat | xsltproc $XDG_CONFIG_HOME/mutt/dmarc.xsl - > /tmp/dmarc.html && qutebrowser /tmp/dmarc.html ;\ test=[[ '%s' == *rmz.io* ]] application/zip; funzip | xsltproc $XDG_CONFIG_HOME/mutt/dmarc.xsl - > /tmp/dmarc.html && qutebrowser /tmp/dmarc.html ;\