Project

vkhal

0.0
No commit activity in last 3 years
No release in over 3 years
Send vcalendar invites to Khal
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 10.0
~> 3.8

Runtime

~> 2.5
 Project Readme

Vkhal

Utility to help integrate the amazing [Mutt][1]/[NeoMutt][2] with the beautiful calendaring application [Khal][3]

Installation

$ gem install vkhal

Usage

Vkhal can both display an ics file in Mutt and import it in Khal.

In order to display the events inside your emails add these two lines in your mailcap

text/calendar;      vkhal -s %s; copiousoutput
application/ics;    vkhal -s %s; copiousoutput

Then add a macro to import events into Khal:

macro attach K \
"\
"<enter-command>unset wait_key<enter>\
<shell-escape>rm -f /tmp/events.ics<enter>\
<save-entry><kill-line>/tmp/events.ics<enter>\
<shell-escape> vkhal -k /tmp/events.ics<enter>\
"

License

The gem is available as open source under the terms of the Beerware License.