~whynothugo/dotfiles

dotfiles/home/.config/vdirsyncer/config -rw-r--r-- 1.7 KiB
a059c69fHugo Osvaldo Barrera docker: Drop obsolete configuration a day ago
                                                                                
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
[general]
status_path = "~/.local/share/vdirsyncer/status/"

##### Contacts ######

[pair contacts]
a = "contacts_local"
b = "contacts_fastmail"
collections = null
metadata = []
conflict_resolution = ["command", "vimdiff"]

[storage contacts_local]
type = "filesystem"
path = "~/.local/share/contacts/cards/"
fileext = ".vcf"

[storage contacts_fastmail]
type = "carddav"
url = "https://carddav.fastmail.com/dav/addressbooks/user/whynothugo@fastmail.com/Default/"
username = "whynothugo@fastmail.com"
password.fetch = ["command", "keyring", "get", "vdirsyncer", "hobarrera@fastmail.com/carddav"]

##### Calendars ######

[pair calendars]
a = "calendars_local"
b = "calendars_fastmail"
collections = ["from b"]
metadata = ["color", "displayname"]
conflict_resolution = ["command", "vimdiff"]

[storage calendars_local]
type = "filesystem"
path = "~/.local/share/calendars/"
fileext = ".ics"

[storage calendars_fastmail]
type = "caldav"
url = "https://caldav.fastmail.com/"
username = "whynothugo@fastmail.com"
password.fetch = ["command", "keyring", "get", "vdirsyncer", "hobarrera@fastmail.com/caldav"]

##### Work Calendars #####

[pair work_calendars]
a = "calendars_local"
b = "calendars_google"
collections = [
  # work
  "hugo@proctorexam.com",
  # holidays
  "cln2sp3lehhmg8r8dtm6ip31f506esjfelo2sthecdgmopbechgn4bj7dtnmer355phmur8@virtual"
  ]
metadata = ["color", "displayname"]
conflict_resolution = ["command", "vimdiff"]

[storage calendars_google]
type = "google_calendar"
token_file = "~/.cache/vdirsyncer/google.token"
client_id.fetch = ["command", "keyring", "get", "vdirsyncer", "HBarrera@turnitin.com/caldav/client_id"]
client_secret.fetch = ["command", "keyring", "get", "vdirsyncer", "HBarrera@turnitin.com/caldav/client_secret"]
read_only = true