vdirsyncer xdg
[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 = "~/.local/share/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 conflict_resolution = "b wins"
21
22 [storage contacts_local]
23 type = "filesystem"
24 path = "~/.local/share/vdirsyncer/card"
25 fileext = ".vcf"
26
27 [storage contacts_remote]
28 type = "carddav"
29 url = "https://cal.martlubbers.net/dav.php/addressbooks"
30 #auth = "digest"
31 username = "mart"
32 password.fetch = ["command", "pass", "show", "caldav_ygdrassil/mart"]
33
34 # CALDAV
35 [pair calendar]
36 a = "calendar_local"
37 b = "calendar_remote"
38 collections = ["from b"]
39 conflict_resolution = "b wins"
40
41 [storage calendar_local]
42 type = "filesystem"
43 path = "~/.local/share/vdirsyncer/cal"
44 fileext = ".ics"
45
46 [storage calendar_remote]
47 type = "caldav"
48 url = "https://cal.martlubbers.net/dav.php/calendars"
49 #auth = digest
50 username = "mart"
51 password.fetch = ["command", "pass", "show", "caldav_ygdrassil/mart"]
52
53 # Tasks
54 [pair tasks]
55 a = "tasks_local"
56 b = "tasks_remote"
57 conflict_resolution = "a wins"
58 collections = ["from b"]
59
60 [storage tasks_local]
61 type = "filesystem"
62 path = "~/.local/share/vdirsyncer/tasks"
63 fileext = ".ics"
64
65 [storage tasks_remote]
66 type = "caldav"
67 url = "https://cal.martlubbers.net/dav.php/calendars"
68 #auth = digest
69 username = "task"
70 password.fetch = ["command", "pass", "show", "caldav_ygdrassil/mart"]