diff options
| author | Robert Günzler <r@gnzler.io> | 2023-01-16 13:14:06 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2023-01-16 13:14:06 +0100 |
| commit | f749a802fea79432c70bf713abb8e35f7f92004c (patch) | |
| tree | 4e437c3471ee66a13ea207be2d072bfdcb0cde95 /.config/vdirsyncer | |
| parent | 11bf30fb20816229316afe7eda6618f16b9769be (diff) | |
add vdirsyncer configuration
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '.config/vdirsyncer')
| -rw-r--r-- | .config/vdirsyncer/config | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/.config/vdirsyncer/config b/.config/vdirsyncer/config new file mode 100644 index 0000000..042910e --- /dev/null +++ b/.config/vdirsyncer/config @@ -0,0 +1,44 @@ +[general] +# A folder where vdirsyncer can store some metadata about each pair. +status_path = "~/.local/state/vdirsyncer/status/" + +# CALDAV +[pair gnzler_calendars] +a = "gnzler_calendars_local" +b = "gnzler_calendars_remote" +collections = ["from a", "from b"] + +# Calendars also have a color property +metadata = ["displayname", "color"] + +[storage gnzler_calendars_local] +type = "filesystem" +path = "~/calendars/" +fileext = ".ics" + +[storage gnzler_calendars_remote] +type = "caldav" +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"] + +# CARDDAV +[pair gnzler_contacts] +a = "gnzler_contacts_local" +b = "gnzler_contacts_remote" +collections = ["from a", "from b"] + +# Synchronize the "display name" property into a local file (~/.contacts/displayname). +metadata = ["displayname"] + +[storage gnzler_contacts_local] +type = "filesystem" +path = "~/contacts/" +fileext = ".vcf" + +[storage gnzler_contacts_remote] +type = "carddav" +url = "https://webmail.gandi.net/SOGo/dav/robert@gnzler.io/Contacts/personal/" +username = "robert@gnzler.io" +password.fetch = ["shell", "secretmenu -P 'gnzler.io mail' | head -n1"] + |