44 lines
1.2 KiB
Text
44 lines
1.2 KiB
Text
[general]
|
|
status_path = "~/.local/share/vdirsyncer/status/"
|
|
|
|
# CARDDAV
|
|
[pair example_contacts]
|
|
a = "example_contacts_local"
|
|
b = "example_contacts_remote"
|
|
conflict_resolution = ["command", "lvim", "-d", "-o"]
|
|
|
|
collections = ["from a", "from b"]
|
|
|
|
metadata = ["displayname"]
|
|
|
|
#conflict_resolution = null
|
|
|
|
[storage example_contacts_local]
|
|
type = "filesystem"
|
|
path = "~/.local/share/contacts/Example"
|
|
fileext = ".vcf"
|
|
|
|
[storage example_contacts_remote]
|
|
type = "carddav"
|
|
url = "https://nextcloud.example.com/remote.php/carddav/"
|
|
username = "example_user"
|
|
password.fetch = ["command", "bw", "get", "password", "dav:nextcloud.example.com"]
|
|
|
|
# CALDAV
|
|
[pair example_calendar]
|
|
a = "example_calendar_local"
|
|
b = "example_calendar_remote"
|
|
collections = ["from a", "from b"]
|
|
metadata = ["displayname", "color"]
|
|
conflict_resolution = ["command", "lvim", "-d", "-o"]
|
|
|
|
[storage example_calendar_local]
|
|
type = "filesystem"
|
|
path = "~/.local/share/calendars/Example"
|
|
fileext = ".ics"
|
|
|
|
[storage example_calendar_remote]
|
|
type = "caldav"
|
|
url = "https://nextcloud.example.com/remote.php/caldav/"
|
|
username = "example_user"
|
|
password.fetch = ["command", "bw", "get", "password", "dav:nextcloud.example.com"]
|