From c0850ddd7fd32e802550460621e2c480edf01542 Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Sat, 9 Nov 2024 21:32:04 +0100 Subject: [PATCH] [khal] add khal + vdirsyncer config --- .config/khal/config | 19 +++++++++++++++++ .config/vdirsyncer/config | 43 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 .config/khal/config create mode 100644 .config/vdirsyncer/config diff --git a/.config/khal/config b/.config/khal/config new file mode 100644 index 0000000..8a5854e --- /dev/null +++ b/.config/khal/config @@ -0,0 +1,19 @@ +[calendars] + +[[my_calendars_local]] +path = ~/.calendars/raghnarok/* +type = discover + +[[octopode_local]] +path = ~/.calendars/octopode/* +type = discover + +[locale] +timeformat = %H:%M +dateformat = %d/%m/%Y +longdateformat = %d/%m/%Y +datetimeformat = %d/%m/%Y %H:%M +longdatetimeformat = %d/%m/%Y %H:%M + +[default] +default_calendar = Raghnarok diff --git a/.config/vdirsyncer/config b/.config/vdirsyncer/config new file mode 100644 index 0000000..0a98633 --- /dev/null +++ b/.config/vdirsyncer/config @@ -0,0 +1,43 @@ +[general] +status_path = "~/.vdirsyncer/status/" + +[pair my_calendars] +a = "my_calendars_local" +b = "my_calendars_remote" +collections = ["from a", "from b"] +metadata = ["displayname", "color"] +conflict_resolution = "b wins" + +[storage my_calendars_local] +type = "filesystem" +path = "~/.calendars/raghnarok/" +fileext = ".ics" + +[storage my_calendars_remote] +type = "caldav" +url = "https://cloud.vulgarisons.info/remote.php/dav/calendars/raghnarok/" +username = "raghnarok" +password.fetch = ["command", "pass", "show", "vdirsyncer/vulgarisons"] +start_date = "datetime.now() - timedelta(days=365)" +end_date = "datetime.now() + timedelta(days=365)" + +[pair octopode] +a = "octopode_local" +b = "octopode_remote" +collections = ["from a", "from b"] +metadata = ["displayname", "color"] +conflict_resolution = "b wins" + +[storage octopode_local] +type = "filesystem" +path = "~/.calendars/octopode/" +fileext = ".ics" + +[storage octopode_remote] +type = "caldav" +url = "https://cloud.octopode.ch/remote.php/dav/calendars/raghnarok/" +username = "raghnarok" +password.fetch = ["command", "pass", "show", "vdirsyncer/octopode"] +start_date = "datetime.now() - timedelta(days=365)" +end_date = "datetime.now() + timedelta(days=365)" +