summary refs log tree commit diff
path: root/.config/vdirsyncer
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2023-01-19 18:53:41 +0100
committerRobert Günzler <r@gnzler.io>2023-03-21 12:35:42 +0100
commit20eeff217f410a274e1893eb3ea717e7402b4620 (patch)
treee9bcec653fa67d64bf5bb0a194fc0f61b37959a5 /.config/vdirsyncer
parent582505acf1580b1fe1c73d1167bb7588b3eeaab2 (diff)
add pimutils configs
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '.config/vdirsyncer')
-rw-r--r--.config/vdirsyncer/config40
1 files changed, 31 insertions, 9 deletions
diff --git a/.config/vdirsyncer/config b/.config/vdirsyncer/config
index 042910e..b088c24 100644
--- a/.config/vdirsyncer/config
+++ b/.config/vdirsyncer/config
@@ -2,26 +2,48 @@
 # A folder where vdirsyncer can store some metadata about each pair.
 status_path = "~/.local/state/vdirsyncer/status/"
 
-# CALDAV
+# CALDAV events
 [pair gnzler_calendars]
-a = "gnzler_calendars_local"
-b = "gnzler_calendars_remote"
-collections = ["from a", "from b"]
-
-# Calendars also have a color property
+a = "gnzler_calendar_local"
+b = "gnzler_calendar_remote"
+collections = null
 metadata = ["displayname", "color"]
+conflict_resolution = ["command", "nvim", "-d"]
 
-[storage gnzler_calendars_local]
+[storage gnzler_calendar_local]
 type = "filesystem"
-path = "~/calendars/"
+path = "~/calendars/personal/"
 fileext = ".ics"
 
-[storage gnzler_calendars_remote]
+[storage gnzler_calendar_remote]
 type = "caldav"
+item_types = ["VEVENT"]
 url = "https://webmail.gandi.net/SOGo/dav/robert@gnzler.io/Calendar/personal/"
 username = "robert@gnzler.io"
 password.fetch = ["shell", "secretmenu -P 'gnzler.io mail' | head -n1"]
 
+
+# CALDAV tasks
+[pair gnzler_tasks]
+a = "gnzler_tasks_local"
+b = "gnzler_tasks_remote"
+collections = null
+metadata = ["displayname", "color"]
+conflict_resolution = ["command", "nvim", "-d"]
+
+[storage gnzler_tasks_local]
+type = "filesystem"
+path = "~/calendars/tasks/"
+fileext = ".ics"
+
+[storage gnzler_tasks_remote]
+type = "caldav"
+item_types = ["VTODO"]
+url = "https://webmail.gandi.net/SOGo/dav/robert@gnzler.io/Calendar/7F5F-63225280-C7-DF8F570/"
+username = "robert@gnzler.io"
+password.fetch = ["shell", "secretmenu -P 'gnzler.io mail' | head -n1"]
+
+
 # CARDDAV
 [pair gnzler_contacts]
 a = "gnzler_contacts_local"