commit e6cc76543a991725b5ee453be76e0b20f4cea1fe
parent 50a2cf67e25c767a95d2d9758a9b0148964cf74a
Author: Sven Möller <sven@svenmoeller.xyz>
Date: Wed, 1 Jun 2022 20:24:25 +0200
Add holidays and other stuff
Diffstat:
2 files changed, 59 insertions(+), 2 deletions(-)
diff --git a/khal/.config/khal/config b/khal/.config/khal/config
@@ -1,12 +1,17 @@
[calendars]
[[my_calendar_local]]
-path = ~/.calendars/*
-type = discover
+path = ~/.calendars/Y2FsOi8vMC8zMQ
+color = dark red
[[my_contacts_local]]
path = ~/.contacts/32
type = birthdays
+color = dark blue
+
+[[holidays]]
+path = ~/.holidays
+color = yellow
[locale]
timeformat = %H:%M
diff --git a/vdirsyncer/.config/vdirsyncer/config b/vdirsyncer/.config/vdirsyncer/config
@@ -0,0 +1,52 @@
+[general]
+status_path = "~/.local/share/vdirsyncer/status/"
+
+# CARDDAV
+[pair my_contacts]
+a = "my_contacts_local"
+b = "my_contacts_remote"
+collections = ["from a", "from b"]
+metadata = ["displayname"]
+
+[storage my_contacts_local]
+type = "filesystem"
+path = "~/.contacts/"
+fileext = ".vcf"
+
+[storage my_contacts_remote]
+type = "carddav"
+url = "https://dav.mailbox.org"
+username = "sven.moeller@mailbox.org"
+password.fetch = ["command", "gopass", "-o", "mail/mailbox.org"]
+
+# CALDAV
+[pair my_calendar]
+a = "my_calendar_local"
+b = "my_calendar_remote"
+collections = ["from a", "from b"]
+metadata = ["displayname", "color"]
+
+[storage my_calendar_local]
+type = "filesystem"
+path = "~/.calendars/"
+fileext = ".ics"
+
+[storage my_calendar_remote]
+type = "caldav"
+url = "https://dav.mailbox.org"
+username = "sven.moeller@mailbox.org"
+password.fetch = ["command", "gopass", "-o", "mail/mailbox.org"]
+
+[pair holidays]
+a = "holidays_public"
+b = "holidays_private"
+collections = null
+
+[storage holidays_public]
+type = "http"
+url = "https://www.thunderbird.net/media/caldata/GermanHolidays.ics"
+
+[storage holidays_private]
+type = "filesystem"
+path = "~/.holidays/"
+fileext = ".ics"