]> git.rmz.io Git - dotfiles.git/blob - mutt/mailcap
task: add custom recurrence stuff (wip)
[dotfiles.git] / mutt / mailcap
1 text/html; $XDG_CONFIG_HOME/mutt/mutt_bgrun qutebrowser --temp-basedir %s; test=test -n "$DISPLAY"; nametemplate=%s.html
2 text/html; w3m -I %{charset} -dump %s -T text/html -cols "$COLUMNS" -o display_link_number=1; copiousoutput; nametemplate=%s.html
3 text/calendar; $XDG_CONFIG_HOME/mutt/ical2txt; copiousoutput
4 # generate html from dmarc report, testing against *rmz.io* because all other tests were too difficult
5 application/gzip; zcat | xsltproc $XDG_CONFIG_HOME/mutt/dmarc.xsl - > /tmp/dmarc.html && qutebrowser /tmp/dmarc.html ;\
6 test=[[ '%s' == *rmz.io* ]]
7 application/zip; funzip | xsltproc $XDG_CONFIG_HOME/mutt/dmarc.xsl - > /tmp/dmarc.html && qutebrowser /tmp/dmarc.html ;\
8 test=[[ '%s' == *rmz.io* ]]
9 application/gzip; zcat | xsltproc $XDG_CONFIG_HOME/mutt/dmarc.xsl - | w3m -dump - -T text/html ; copiousoutput ; test=[[ '%s' == *rmz.io* ]]
10 application/zip; funzip | xsltproc $XDG_CONFIG_HOME/mutt/dmarc.xsl - | w3m -dump - -T text/html ; copiousoutput ; test=[[ '%s' == *rmz.io* ]]
11 application/*; $XDG_CONFIG_HOME/mutt/mutt_bgrun rifle -f F %s;
12 image/*; rifle -f F %s;