summary refs log tree commit diff
path: root/.config/vdirsyncer/config
blob: 042910eeb3b0da0915f6e2b87b73d05143970215 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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"]