dotfiles

[ACTIVE] managed with chezmoi
git clone git://git.figbert.com/dotfiles.git
Log | Files | Refs

commit 95eafa1472cf45a2dd3d912b12931817c9857fcb
parent 80613716b9499b0db123afaa8db0f526ba3b7439
Author: FIGBERT <figbert@figbert.com>
Date:   Tue,  9 Aug 2022 14:18:15 -0700

Add school calendar by subscription

Diffstat:
Mdot_config/khal/config.tmpl | 5+++++
Mdot_config/vdirsyncer/config.tmpl | 13+++++++++++++
2 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/dot_config/khal/config.tmpl b/dot_config/khal/config.tmpl @@ -1,8 +1,13 @@ [calendars] [[personal]] path = ~/.local/share/vdirsyncer/calendars/{{ .cal.personal }} + color = light blue [[school]] path = ~/.local/share/vdirsyncer/calendars/{{ .cal.school }} + color = light red + [[schoolsub]] + path = ~/.local/share/vdirsyncer/school + color = light magenta [[contacts]] path = ~/.local/share/vdirsyncer/contacts/{{ .cal.contacts }} type = birthdays diff --git a/dot_config/vdirsyncer/config.tmpl b/dot_config/vdirsyncer/config.tmpl @@ -30,3 +30,16 @@ type = "caldav" url = "https://{{ .cal.server }}/" username.fetch = ["command", "bw", "get", "username", "{{ .cal.server }}"] password.fetch = ["command", "bw", "get", "password", "{{ .cal.server }}"] + +[pair school] +a = "school_local" +b = "school_remote" +collections = null +conflict_resolution = "b wins" +[storage school_local] +type = "filesystem" +path = "~/.local/share/vdirsyncer/school/" +fileext = ".ics" +[storage school_remote] +type = "http" +url = "https://{{ .cal.subscriptions.school }}"