[general]
status_path = "~/.vdirsyncer/status/"

[storage nextcloud_cal_remote]
	type = "caldav"
	url = "https://nc.debucquoy.me/remote.php/dav"
	username = "tonitch"
	password.fetch = ["command", "cat", "~/.config/pass/vdirsyncer.txt"]

[storage nextcloud_card_remote]
	type = "carddav"
	url = "https://nc.debucquoy.me/remote.php/dav"
	username = "tonitch"
	password.fetch = ["command", "cat", "~/.config/pass/vdirsyncer.txt"]

[storage nextcloud_cal_local]
	type = "filesystem"
	path = "~/.cache/calendar/nextcloud"
	fileext = ".ics"

[storage nextcloud_card_local]
	type = "filesystem"
	path = "~/.cache/contact/nextcloud"
	fileext = ".vcf"

[pair nextcloud_cal]
	a = "nextcloud_cal_remote"
	b = "nextcloud_cal_local"
	collections = ["from a"]
	metadata= ["color", "displayname", "description", "order"]

[pair nextcloud_card]
	a = "nextcloud_card_remote"
	b = "nextcloud_card_local"
	collections = ["from a"]
	metadata= ["displayname"]

[storage debucquoyanthony_remote]
	type = "google_calendar"
	client_id.fetch = ["command", "cat", "~/.config/pass/debucquoyanthony_id.txt"]
	client_secret.fetch = ["command", "cat", "~/.config/pass/debucquoyanthony_secret.txt"] 
	token_file = "~/.config/pass/debucquoyanthony_token.txt"

[storage debucquoyanthony_local]
	type = "filesystem"
	path = "~/.cache/calendar/google/debucquoyanthony"
	fileext = ".ics"

[pair debucquoyanthony_cal]
	a = "debucquoyanthony_remote"
	b = "debucquoyanthony_local"
	collections = ["from a"]
	metadata= ["color", "displayname", "description", "order"]

[storage umons_remote]
	type = "http"
	url = "https://ical.umons.ac.be/0CAF46D3-390C-4D34-AE43-B662CD784F67.ics"

[storage umons_local]
	type = "filesystem"
	path = "~/.cache/calendar/umons/2026-2027"
	fileext = ".ics"

[pair umons]
	a = "umons_remote"
	b = "umons_local"
	collections = null
