]> git.rmz.io Git - dotfiles.git/blob - vdirsyncer/config
nvim: add FPP copyright snippet
[dotfiles.git] / 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.pimutils.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/"
13
14 # CARDDAV
15 [pair contacts]
16 # A `[pair <name>]` block defines two storages `a` and `b` that should be
17 # synchronized. The definition of these storages follows in `[storage <name>]`
18 # blocks. This is similar to accounts in OfflineIMAP.
19 a = "contacts_remote"
20 b = "contacts_local"
21
22 # [ name, remote-dir, local-dir]
23 collections = [["mailfence", "contacts", "mailfence"]]
24
25 # Synchronize the "display name" property into a local file (~/.contacts/displayname).
26 metadata = ["displayname"]
27
28 # To resolve a conflict the following values are possible:
29 # `null` - abort when collisions occur (default)
30 # `"a wins"` - assume a's items to be more up-to-date
31 # `"b wins"` - assume b's items to be more up-to-date
32 #conflict_resolution = null
33
34 [storage contacts_remote]
35 type = "carddav"
36 url = "https://mailfence.com/dav/samirbenmendil/private/contacts"
37 username = "samirbenmendil"
38 password.fetch = ["command", "pass", "mailfence.com/xdav"]
39
40 [storage contacts_local]
41 type = "filesystem"
42 path = "~/.local/share/contacts/"
43 fileext = ".vcf"
44
45 # CALDAV
46 [pair calendar]
47 a = "calendar_remote"
48 b = "calendar_local"
49 collections = ["from a", "from b"]
50
51 # Calendars also have a color property
52 metadata = ["displayname", "color"]
53
54 [storage calendar_remote]
55 type = "caldav"
56 url = "https://mailfence.com/dav/samirbenmendil/private/events"
57 username = "samirbenmendil"
58 password.fetch = ["command", "pass", "mailfence.com/xdav"]
59
60 [storage calendar_local]
61 type = "filesystem"
62 path = "~/.local/share/calendars/"
63 fileext = ".ics"
64