commit b58059330598e0c04f4b3c8c93783c7cd9c85af1 parent 0f38a3cd8d182583e652bf1303463c1a35015aaa Author: FIGBERT <figbert@figbert.com> Date: Sat, 13 Aug 2022 10:44:41 -0700 Add Koach calendar Diffstat:
M | dot_config/khal/config.tmpl | | | 3 | +++ |
M | dot_config/vdirsyncer/config.tmpl | | | 15 | +++++++++++++++ |
2 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/dot_config/khal/config.tmpl b/dot_config/khal/config.tmpl @@ -5,6 +5,9 @@ [[school]] path = ~/.local/share/vdirsyncer/calendars/{{ .cal.school }} color = light red + [[koach]] + path = ~/.local/share/vdirsyncer/koach/{{ .cal.koach.id }} + color = dark blue [[schoolsub]] path = ~/.local/share/vdirsyncer/school color = light magenta diff --git a/dot_config/vdirsyncer/config.tmpl b/dot_config/vdirsyncer/config.tmpl @@ -43,3 +43,18 @@ fileext = ".ics" [storage school_remote] type = "http" url = "https://{{ .cal.subscriptions.school }}" + +[pair koach] +a = "koach_local" +b = "koach_remote" +collections = ["from a", "from b"] +conflict_resolution = "b wins" +[storage koach_local] +type = "filesystem" +path = "~/.local/share/vdirsyncer/koach/" +fileext = ".ics" +[storage koach_remote] +type = "caldav" +url = "https://{{ .cal.server }}/" +username = "{{ .cal.koach.username }}" +password = "{{ .cal.koach.password }}"