config.tmpl (1645B)
1 [general] 2 status_path = "~/.local/share/vdirsyncer/status/" 3 4 [pair contacts] 5 a = "contacts_local" 6 b = "contacts_remote" 7 collections = ["from a", "from b"] 8 conflict_resolution = "b wins" 9 [storage contacts_local] 10 type = "filesystem" 11 path = "~/.local/share/vdirsyncer/contacts/" 12 fileext = ".vcf" 13 [storage contacts_remote] 14 type = "carddav" 15 url = "https://{{ .cal.server }}/" 16 username.fetch = ["command", "bw", "get", "username", "{{ .cal.server }}"] 17 password.fetch = ["command", "bw", "get", "password", "{{ .cal.server }}"] 18 19 [pair calendar] 20 a = "calendar_local" 21 b = "calendar_remote" 22 collections = ["from a", "from b"] 23 conflict_resolution = "b wins" 24 [storage calendar_local] 25 type = "filesystem" 26 path = "~/.local/share/vdirsyncer/calendars/" 27 fileext = ".ics" 28 [storage calendar_remote] 29 type = "caldav" 30 url = "https://{{ .cal.server }}/" 31 username.fetch = ["command", "bw", "get", "username", "{{ .cal.server }}"] 32 password.fetch = ["command", "bw", "get", "password", "{{ .cal.server }}"] 33 34 [pair school] 35 a = "school_local" 36 b = "school_remote" 37 collections = null 38 conflict_resolution = "b wins" 39 [storage school_local] 40 type = "filesystem" 41 path = "~/.local/share/vdirsyncer/school/" 42 fileext = ".ics" 43 [storage school_remote] 44 type = "http" 45 url = "https://{{ .cal.subscriptions.school }}" 46 47 [pair koach] 48 a = "koach_local" 49 b = "koach_remote" 50 collections = ["from a", "from b"] 51 conflict_resolution = "b wins" 52 [storage koach_local] 53 type = "filesystem" 54 path = "~/.local/share/vdirsyncer/koach/" 55 fileext = ".ics" 56 [storage koach_remote] 57 type = "caldav" 58 url = "https://{{ .cal.server }}/" 59 username = "{{ .cal.koach.username }}" 60 password = "{{ .cal.koach.password }}"