Skip to content
This repository has been archived by the owner on Dec 3, 2018. It is now read-only.

Latest commit

 

History

History
26 lines (18 loc) · 597 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 597 Bytes

book

This is an add-on for todo.sh that grabs a todo and creates a calendar event out of it via Khal.

Usage:

todo.sh book ITEM# DATE TIME DURATION

Example:

todo.sh book 7 2018-06-24 21:42 2h
# Creates an event titled the same as todo number 7,
# on June 24th 2018 from 9:42 PM to 11:42 PM.

Notes:

This script takes a date and time in %Y-%m-%d %H:%M and automatically converts it to %m.%d, which is what I use for Khal.

This script automatically runs vdirsyncer sync to sync your calendar.