X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=.config%2Fvdirsyncer%2Fconfig;h=39e2b01597a3f21a9afcf6723146c1daf452201f;hb=e6b783e071e7068c9ec215aa24422508858c015d;hp=8cd811e429bca55d01d638616edf09b9e245f960;hpb=b927997e2f22f49b645c26a561d275672fca0fae;p=dotfiles.git diff --git a/.config/vdirsyncer/config b/.config/vdirsyncer/config index 8cd811e..39e2b01 100644 --- a/.config/vdirsyncer/config +++ b/.config/vdirsyncer/config @@ -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 = ~/.config/i3/gpass.sh calendar +# 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