diff options
Diffstat (limited to '.mailcap')
-rw-r--r-- | .mailcap | 32 |
1 files changed, 31 insertions, 1 deletions
@@ -1 +1,31 @@ -text/html; /bin/w3m -T text/html -dump; copiousoutput +### HTML ### + +text/html; /bin/w3m -T text/html -o display_link_number=1 -dump; copiousoutput + +### PDF ### + +# elinks: more colors +#application/pdf; pdftohtml -i -q -stdout %s | elinks -dump-color-mode 2 \ +# -eval "set ecmascript.enable=0" \ +# -eval "set document.colors.use_document_colors=1" \ +# -eval "set document.colors.text='black'" \ +# -eval "set document.colors.increase_contrast=0" \ +# -dump | less; needsterminal + +# w3m: minimum colors +# -o display_ins_del=1 +application/pdf; pdftohtml -i -q -stdout %s | w3m -X -T text/html \ + -o confirm_qq=0 \ + -o display_link=1 \ + -o display_link_number=1 \ + -o mark_all_pages=1; needsterminal + +# w3m: some sed removals needed +#application/pdf; echo 'Q' | script -qc \ +# "pdftohtml -i -q -stdout %s | LINES=1000 w3m -X -T text/html" - \ +# | less; needsterminal + +### CALENDAR INVITES ### + +text/calendar; mutt-ical -i -e "jpokorny@redhat.com" %s; needsterminal +application/ics; mutt-ical -i -e "jpokorny@redhat.com" %s; needsterminal |