bork
[dotfiles.git] / cal / .config / vdirsyncer / config
1 # An example configuration for vdirsyncer.
2 #
3 # Move it to ~/.vdirsyncer/config or ~/.config/vdirsyncer/config and edit it.
4 # Run `vdirsyncer --help` for CLI usage.
5 #
6 # Optional parameters are commented out.
7 # This file doesn"t document all available parameters, see
8 # http://vdirsyncer.readthedocs.org/ for the rest of them.
9
10 [general]
11 # A folder where vdirsyncer can store some metadata about each pair.
12 status_path = "~/.vdirsyncer/status/"
13 #default_command = "sync"
14
15 # CARDDAV
16 [pair contacts]
17 a = "contacts_local"
18 b = "contacts_remote"
19 collections = ["from b"]
20
21 [storage contacts_local]
22 type = "filesystem"
23 path = "~/.vdirsyncer/card"
24 fileext = ".vcf"
25
26 [storage contacts_remote]
27 type = "carddav"
28 url = "https://cal.martlubbers.net/dav.php/addressbooks"
29 #auth = "digest"
30 username = "mart"
31 password.fetch = ["command", "pass", "show", "caldav_ygdrassil/mart"]
32
33 # CALDAV
34 [pair calendar]
35 a = "calendar_local"
36 b = "calendar_remote"
37 collections = ["from b"]
38
39 [storage calendar_local]
40 type = "filesystem"
41 path = "~/.vdirsyncer/cal"
42 fileext = ".ics"
43
44 [storage calendar_remote]
45 type = "caldav"
46 url = "https://cal.martlubbers.net/dav.php/calendars"
47 #auth = digest
48 username = "mart"
49 password.fetch = ["command", "pass", "show", "caldav_ygdrassil/mart"]
50
51 # Tasks
52 [pair tasks]
53 a = "tasks_local"
54 b = "tasks_remote"
55 conflict_resolution = "a wins"
56 collections = ["from b"]
57
58 [storage tasks_local]
59 type = "filesystem"
60 path = "~/.vdirsyncer/tasks"
61 fileext = ".ics"
62
63 [storage tasks_remote]
64 type = "caldav"
65 url = "https://cal.martlubbers.net/dav.php/calendars"
66 #auth = digest
67 username = "task"
68 password.fetch = ["command", "pass", "show", "caldav_ygdrassil/mart"]