diff options
Diffstat (limited to '.bin/ccurse')
-rwxr-xr-x | .bin/ccurse | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.bin/ccurse b/.bin/ccurse new file mode 100755 index 0000000..6377bb0 --- /dev/null +++ b/.bin/ccurse @@ -0,0 +1,11 @@ +#!/bin/sh + +default_calendar="personal" +data_dir="${HOME}/docs/calendar" + +for calendar; do true; done +args=$(echo ${@} | rev | cut -d " " -f 2- | rev) + +exec calcurse -C "${HOME}/.config/calcurse" \ + -D "${data_dir}/${last:-${default_calendar}}" \ + ${args} |