diff options
Diffstat (limited to 'cal/dot-config/vdirsyncer/config')
| -rw-r--r-- | cal/dot-config/vdirsyncer/config | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/cal/dot-config/vdirsyncer/config b/cal/dot-config/vdirsyncer/config new file mode 100644 index 0000000..abdc264 --- /dev/null +++ b/cal/dot-config/vdirsyncer/config @@ -0,0 +1,61 @@ +# vim: ft=confini + +[general] +status_path = "~/.local/state/vdirsyncer/" + +##### Google Contacts ##### + +[pair gmail_contacts] +a = "gmail_contacts_local" +b = "gmail_contacts_remote" +collections = ["from a", "from b"] +metadata = ["displayname"] + +[storage gmail_contacts_local] +type = "filesystem" +path = "~/.local/share/vdirsyncer/contacts/google" +fileext = ".vcf" + +[storage gmail_contacts_remote] +type = "google_contacts" +token_file = "~/.local/state/vdirsyncer/googlecard-token" +client_id.fetch = ["command", "pass", "show", "google/oauth/clientid"] +client_secret.fetch = ["command", "pass", "show", "google/oauth/clientsecret"] + +##### Google Calendar ##### + +[pair googlecalendars] +a = "googlecaldav_local" +b = "googlecaldav_remote" +metadata = ["color", "displayname", "description", "order"] +collections = ["from a", "from b"] + +[storage googlecaldav_local] +type = "filesystem" +path = "~/.local/share/vdirsyncer/calendars/google" +fileext = ".ics" + +[storage googlecaldav_remote] +type = "google_calendar" +client_id.fetch = ["command", "pass", "show", "google/oauth/clientid"] +client_secret.fetch = ["command", "pass", "show", "google/oauth/clientsecret"] +token_file = "~/.local/state/vdirsyncer/googlecal-token" + +##### Moreka.cc Calendar ##### + +[pair moreka_calendar] +a = "moreka_calendar_local" +b = "moreka_calendar_remote" +collections = ["from a", "from b"] +metadata = ["displayname"] + +[storage moreka_calendar_local] +type = "filesystem" +path = "~/.local/share/vdirsyncer/calendars/moreka.cc" +fileext = ".ics" + +[storage moreka_calendar_remote] +type = "caldav" +url = "https://dav.moreka.cc/moreka/b3f68fb7-93d3-2129-5b31-bb490d4bc387/" +username = "moreka" +password.fetch = ["command", "pass", "show", "dav-moreka-cc"] |
