diff options
| -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"] + |