From 8162f56a447419d275fa8fd8bc995fdad471ef6f Mon Sep 17 00:00:00 2001 From: stupidcomputer Date: Sat, 13 Apr 2024 22:44:29 -0500 Subject: [PATCH] add additional calendars add a school and pco calendar to vdirsyncer and khal configurations. --- .config/khal/config | 8 ++++++++ .config/vdirsyncer/config | 30 ++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/.config/khal/config b/.config/khal/config index 755c1d1..12abda8 100644 --- a/.config/khal/config +++ b/.config/khal/config @@ -7,6 +7,14 @@ color = dark green path = "~/vdir/calendar/band" color = light cyan +[[pco]] +path = "~/vdir/calendar/pco" +color = yellow + +[[school]] +path = "~/vdir/calendar/school" +color = dark red + [locale] timeformat = %H:%M dateformat = %Y-%m-%d diff --git a/.config/vdirsyncer/config b/.config/vdirsyncer/config index 0b0b6fa..44687f6 100644 --- a/.config/vdirsyncer/config +++ b/.config/vdirsyncer/config @@ -16,6 +16,16 @@ a = "band_calendar_local" b = "band_calendar_remote" collections = null +[pair pco_calendar] +a = "pco_local" +b = "pco_remote" +collections = null + +[pair school_calendar] +a = "school_local" +b = "school_remote" +collections = null + [storage contacts_local] type = "filesystem" path = "~/vdir/people/main" @@ -31,6 +41,16 @@ type = "filesystem" path = "~/vdir/calendar/band" fileext = ".ics" +[storage pco_local] +type = "filesystem" +path = "~/vdir/calendar/pco" +fileext = ".ics" + +[storage school_local] +type = "filesystem" +path = "~/vdir/calendar/school" +fileext = ".ics" + [storage contacts_remote] type = "carddav" @@ -43,6 +63,16 @@ type = "http" url = "https://calendar.google.com/calendar/ical/i6bong6iferbcuf1u25jg47t7k%40group.calendar.google.com/public/basic.ics" +[storage pco_remote] +type = "http" + +url.fetch = ["command", "rbw", "get", "pco-ical-sync"] + +[storage school_remote] +type = "http" + +url.fetch = ["command", "rbw", "get", "school-ical-sync"] + [storage calendar_remote] type = "caldav"