summaryrefslogtreecommitdiffstats
path: root/vdirsyncer/config
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-06-05 07:15:02 +0100
committerMatthew Lemon <y@yulqen.org>2023-06-05 07:15:18 +0100
commit8215f1a41188986c03a59d6302e521629954773e (patch)
tree53bb49b2fc7dc2facf5ed9701b125ccceccf96d0 /vdirsyncer/config
parent0bc7a2f1fb6a1a1e5703206d5d4064fc178ec968 (diff)
Adds Google calendars to khal
Diffstat (limited to 'vdirsyncer/config')
-rw-r--r--vdirsyncer/config18
1 files changed, 18 insertions, 0 deletions
diff --git a/vdirsyncer/config b/vdirsyncer/config
index 8a84b2c..33c7d1f 100644
--- a/vdirsyncer/config
+++ b/vdirsyncer/config
@@ -39,3 +39,21 @@ type = "caldav"
url = "https://cal.16693433.xyz/radicale/lemon/3c6cbab1-0568-1872-a1e8-bc71501565a9/"
username = "lemon"
password.fetch = ["command", "pass", "show", "radicale_lemon_user"]
+
+[pair google]
+a = "google_local"
+b = "google_remote"
+collections = ["from a", "from b"]
+metadata = ["color", "displayname"]
+conflict_resolution = "a wins"
+
+[storage google_local]
+type = "filesystem"
+path = "~/.calendars/google/"
+fileext = ".ics"
+
+[storage google_remote]
+type = "google_calendar"
+token_file = "~/.vdirsyncer/gcal"
+client_id = "627319068962-ntpf4k7ouebv6p8dfqcb46qhf7mim2jp.apps.googleusercontent.com"
+client_secret = "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"