Lots of updates
[dotfiles.git] / .config / vdirsyncer / config
index 9e5bcfd..39e2b01 100644 (file)
@@ -1,17 +1,46 @@
+# An example configuration for vdirsyncer.
+#
+# Move it to ~/.vdirsyncer/config or ~/.config/vdirsyncer/config and edit it.
+# Run `vdirsyncer --help` for CLI usage.
+#
+# Optional parameters are commented out.
+# This file doesn't document all available parameters, see
+# http://vdirsyncer.readthedocs.org/ for the rest of them.
+
 [general]
-status_path = ~/.config/vdirsyncer/status/
-password_command = pass caldav_ygdrassil/mart
+# A folder where vdirsyncer can store some metadata about each pair.
+status_path = ~/.vdirsyncer/status/
+password_command = pass show caldav_ygdrassil/mart
+
+# CARDDAV
+[pair contacts]
+a = contacts_local
+b = contacts_remote
+
+collections = ["from b"]
+
+[storage contacts_local]
+type = filesystem
+path = ~/.vdirsyncer/
+fileext = .vcf
+
+[storage contacts_remote]
+type = carddav
+url = http://localhost:8008/addressbooks/users/mart/addressbook/
+username = mart
 
+# CALDAV
 [pair calendar]
 a = calendar_local
 b = calendar_remote
+collections = ["from b"]
 
 [storage calendar_local]
 type = filesystem
-path = ~/.calendars/
+path = ~/.vdirsyncer/
 fileext = .ics
 
 [storage calendar_remote]
 type = caldav
-url = http://localhost:8008/calendars/users/mart/calendar
+url = http://localhost:8008/calendars/users/mart/calendar/
 username = mart