summary refs log tree commit diff
path: root/.config/pimsync/pimsync.conf
blob: b85c959c0644ecba0ee08d58a37427cba3f2d61c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# A folder where vdirsyncer can store some metadata about each pair.
status_path "~/.local/state/pimsync/status/"

# PAIRS

pair calendars_robert {
	storage_a gzr_robert_calendar_remote
	storage_b calendars_robert_local
	collections all
	conflict_resolution cmd nvim -d
}

pair contacts_robert {
	storage_a gzr_robert_contacts_remote
	storage_b contacts_local
	collections all
	conflict_resolution cmd nvim -d
}

pair calendars_goro {
	storage_a gzr_goro_calendar_remote
	storage_b calendars_goro_local
	# NOTE: only sync events
	# collection events
	collections all
	conflict_resolution cmd nvim -d
}

# STORAGE LOCAL

storage calendars_robert_local {
	type vdir/icalendar
	path ~/calendars/robert/
	fileext ics
}

storage calendars_goro_local {
	type vdir/icalendar
	path ~/calendars/goro/
	fileext ics
}

storage contacts_local {
	type vdir/vcard
	path ~/contacts/
	fileext vcf
}

# STORAGE GZR

storage gzr_robert_calendar_remote {
	type caldav
	url https://cal.gzr.im/dav/
	username robert
}

storage gzr_robert_contacts_remote {
	type carddav
	url https://cal.gzr.im/dav/
	username robert
}

storage gzr_goro_calendar_remote {
	type caldav
	url https://cal.gzr.im/dav/
	username goro
}