- Notifications
You must be signed in to change notification settings - Fork12
Simple viewer for ics in mutt
License
dmedvinsky/mutt-ics
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Ever received a meeting notification in an email? Ever wanted to have a quickglance at that.ics
file and know what is that meeting about, where is itgoing to happen and who is participating?
I did. So I made this little script.
The package is on PyPI so it is pip-installable, but I recommend usinguv.
After installing with
uv tool install mutt_ics
and making sure themutt-ics
executable is in your path, you should configuremutt to use it to render ICS files. To do that, complete the following steps:
Add the following lines to your
.mailcap
file:text/calendar; mutt-ics; copiousoutput application/ics; mutt-ics; copiousoutput
Add the following line to your
.muttrc
file:auto_view text/calendar application/ics
For
multipart/alternative
e-mails (which is what e.g. Outlook calendar generates),you probably want to prefer thetext/calendar
format view instead of its textualcounterparts. For such settings add another line to the.muttrc
config file:alternative_order text/calendar text/plain text/html
You're done. I guess. Maybe I forgot something. Please, file a ticket if I did.