diff --git a/config.el b/config.el index aec2acb..d2b7d12 100644 --- a/config.el +++ b/config.el @@ -1777,8 +1777,16 @@ current frame." 3. Rodina: read-only → family-calendar.org (login: family)" (interactive) - ;; Vytvoř caldav/ adresář pokud neexistuje (mimo org-agenda-files) + ;; Vytvoř caldav/ adresář a prázdné inbox soubory pokud neexistují + ;; (org-caldav někdy odmítne vytvořit soubor sám od sebe) (make-directory "~/org/caldav" t) + (dolist (f '("~/org/caldav/suky.org" + "~/org/caldav/placeholders.org" + "~/org/caldav/family.org" + "~/org/caldav/klara.org")) + (unless (file-exists-p (expand-file-name f)) + (with-temp-file (expand-file-name f) + (insert "#+TITLE: CalDAV sync\n#+STARTUP: overview\n")))) ;; --- 1. Osobni - Suky --- ;; Stahuj události ze serveru → ~/org/caldav/suky.org (mimo agendu)