[general]
# A folder where vdirsyncer can store some metadata about each pair.
status_path = "~/.local/share/vdirsyncer/status/"

[pair waarp_agenda]
a = "waarp_agenda_local"
b = "waarp_agenda_remote"
collections = ["from a", "from b"]
conflict_resolution = "b wins"

[storage waarp_agenda_remote]
type = "google_calendar"
token_file = "~/.local/share/vdirsyncer/tokens/waarp"
client_id = "1039068292368-mgmsk5olkqkf3jfvq4a1674k46cdmgae.apps.googleusercontent.com"
client_secret = "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"

[storage waarp_agenda_local]
type = "filesystem"
path = "~/.local/share/agendas/waarp/"
fileext = ".ics"

[pair perso_agenda]
a = "perso_agenda_local"
b = "perso_agenda_remote"
collections = ["from a", "from b"]
conflict_resolution = "b wins"

[storage perso_agenda_remote]
type = "caldav"
url = "https://files.bcarlin.xyz"
#https://files.bcarlin.xyz/remote.php/dav
username = "bcarlin"
password.fetch = ["command", "secret-tool", "lookup", "khal", "persopw"]

[storage perso_agenda_local]
type = "filesystem"
path = "~/.local/share/agendas/perso/"
fileext = ".ics"
