aboutsummaryrefslogtreecommitdiff
path: root/mutt/mailcap
blob: 35d29cdba6d21766270da597e7d0c8d132ea1403 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
##this is used when (v)iewing a text/html attachment:
##allowing you to browse and "click" links
##order matters the first entry which passes the test is used
#gui browser if $DISPLAY is set
text/html; conkeror %s &; test=test -n "$DISPLAY"; nametemplate=%s.html
#text browser otherwise
text/html; w3m -v -F -T text/html %s; nametemplate=%s.html; needsterminal

##auto_view will use the entry with the copiousoutput part:
text/html; lynx -stdin -dump -force_html -display_charset utf-8 ; copiousoutput

image/*; feh --magick-timeout 1 %s
application/pdf; llpp %s