]> git.rmz.io Git - dotfiles.git/blobdiff - mutt/mailcap
lazyvim: absorb snacks notifier
[dotfiles.git] / mutt / mailcap
index 57f82474e02f13273c8ac4305d5d03c2c497f095..e64064d755a6a2ac567d92b444bc697be20c75d8 100644 (file)
@@ -1,12 +1,12 @@
-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 ;\
     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;