dotfiles/office/.config/vdirsyncer/config
Marty Oehme 03684ce29f
office: Rename mail module to office module
Reflecting the somewhat expanding scope of the module, renamed it to
office. Still keeps the old files and setups but also got a new README
file.
2022-12-08 13:43:44 +01:00

39 lines
1.1 KiB
Text

[general]
status_path = "~/.local/vdirsyncer/status/"
[pair calendar]
a = "calendar_local"
b = "calendar_nextcloud"
collections = ["from a", "from b"]
metadata = ["displayname", "color"]
conflict_resolution = "b wins"
[storage calendar_local]
type = "filesystem"
path = "~/documents/calendars/"
fileext = ".ics"
[storage calendar_nextcloud]
type = "caldav"
url = "https://files.martyoeh.me/remote.php/dav/"
username.fetch = ["shell", "pass personal/files.martyoeh.me/me | awk -F': ' '{print $2}'"]
password.fetch = ["shell", "pass personal/files.martyoeh.me/me | head -n1"]
[pair contacts]
a = "contacts_local"
b = "contacts_nextcloud"
collections = ["from a", "from b"]
metadata = ["displayname", "description"]
conflict_resolution = "b wins"
[storage contacts_local]
type = "filesystem"
path = "~/documents/contacts/"
fileext = ".vcf"
[storage contacts_nextcloud]
type = "carddav"
url = "https://files.martyoeh.me/remote.php/dav/"
username.fetch = ["shell", "pass personal/files.martyoeh.me/me | awk -F': ' '{print $2}'"]
password.fetch = ["shell", "pass personal/files.martyoeh.me/me | head -n1"]