dotfiles/.config/vdirsyncer/config

49 lines
1.1 KiB
Plaintext

# #################### #
# vdirsyncer config #
# #################### #
# General vdirsyncer config {{{
[general]
status_path = "~/.vdirsyncer/status"
# }}}
# Define storages here {{{
[storage remote_contacts]
type = "carddav"
url = "https://dav.moqueur.chat/dav.php"
auth = "digest"
username = "etienne"
password.fetch = ["command", "pass", "Yuno/DAV"]
[storage remote_calendars]
type = "caldav"
url = "https://dav.moqueur.chat/dav.php"
auth = "digest"
username = "etienne"
password.fetch = ["command", "pass", "Yuno/DAV"]
[storage local_contacts]
type = "filesystem"
path = "~/.vdirsyncer/contacts/"
fileext = ".vcf"
[storage local_calendars]
type = "filesystem"
path = "~/.vdirsyncer/calendars/"
fileext = ".ics"
# }}}
# Define pairings here {{{
[pair contacts]
a = "local_contacts"
b = "remote_contacts"
collections = ["from a", "from b"]
conflict_resolution = "b wins"
metadata = ["displayname"]
[pair calendars]
a = "local_calendars"
b = "remote_calendars"
collections = ["from a","from b"]
conflict_resolution = "b wins"
metadata = ["color","displayname"]
# }}}