diff options
-rw-r--r-- | .gitmodules | 3 | ||||
l--------- | .local/bin/mutt-ical | 1 | ||||
-rw-r--r-- | .mailcap | 32 | ||||
m--------- | .mutt/mutt-ical | 0 |
4 files changed, 35 insertions, 1 deletions
diff --git a/.gitmodules b/.gitmodules index 334fcde..3b1cf1f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -13,3 +13,6 @@ [submodule ".cheat"] path = .cheat url = git://github.com/robin/chitsheet.git +[submodule ".mutt/mutt-ical"] + path = .mutt/mutt-ical + url = git://github.com/jnpkrn/mutt-ical.git diff --git a/.local/bin/mutt-ical b/.local/bin/mutt-ical new file mode 120000 index 0000000..59a3468 --- /dev/null +++ b/.local/bin/mutt-ical @@ -0,0 +1 @@ +../../.mutt/mutt-ical/mutt-ical.py
\ No newline at end of file @@ -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 diff --git a/.mutt/mutt-ical b/.mutt/mutt-ical new file mode 160000 +Subproject f1cd0229cda494a2429a08a9560805c7d3b1208 |