diff options
Diffstat (limited to 'scripts/icstocal.c')
| -rw-r--r-- | scripts/icstocal.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/scripts/icstocal.c b/scripts/icstocal.c new file mode 100644 index 0000000..73feefb --- /dev/null +++ b/scripts/icstocal.c @@ -0,0 +1,22 @@ +// A supposedly better version of icstocal, originally written by Ratakor + +#include <stdio.h> +#include <stdlib.h> +#include <err.h> +#include <string.h> + +#define TIMEZONE 2 // as UTC+2 +#define IN "en" // 'en' means 'in' in french + +int main(int argc, char** argv) +{ + if (argc < 3) + { + printf("Usage: icstocal calendar.ics $XDG_DATA_HOME/quand/calendar"); + errx(EXIT_FAILURE, "Bad usage"); + } + + + + return EXIT_SUCCESS; +} |
