diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2013-05-31 22:11:20 +0200 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2013-05-31 22:11:20 +0200 |
commit | 767a9f41d935b7dcb574312920f051064406b251 (patch) | |
tree | 069fba99ed62feafae2cf358e89d91a9e09f0b82 /.mailcap | |
parent | 580f68274b1652e1bf6dfa75b042874fa02a1830 (diff) | |
download | dotfiles-767a9f41d935b7dcb574312920f051064406b251.tar.gz dotfiles-767a9f41d935b7dcb574312920f051064406b251.tar.xz dotfiles-767a9f41d935b7dcb574312920f051064406b251.zip |
Mutt: update html + add pdf and ics handlers (incl. mutt-ical)
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
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 |