From a3d041d259756dc609b40e5244965fb36b05b8a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sun, 2 Jan 2022 21:07:04 +0100 Subject: Sun Jan 2 09:07:04 PM CET 2022 --- .bin/ccurse | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 .bin/ccurse (limited to '.bin/ccurse') 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} -- cgit v1.2.3