diff options
| author | Martial Simon <msimon_fr@hotmail.com> | 2024-06-09 21:15:17 +0200 |
|---|---|---|
| committer | Martial Simon <msimon_fr@hotmail.com> | 2024-06-09 21:15:17 +0200 |
| commit | 6e8c41d8ec8c1b6175020fd224f18647c0224d40 (patch) | |
| tree | d614077d98c02b071ed81f2238914f41f6b710ff /scripts/icstocal.c | |
| parent | c1d932cb5148339dde3a562aeba74856c8b15a21 (diff) | |
| parent | c316582adf0c096174d0433fd94356071d79b519 (diff) | |
Merge branch 'main' of github.com:Laitram31/.config
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; +} |
