From 326489078f5762ad775adcff5e7c542176ca1776 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Sun, 25 Apr 2021 14:01:53 +0200 Subject: Manage push of calendar events --- config/doom/config.org | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'config/doom') diff --git a/config/doom/config.org b/config/doom/config.org index 8c9b17b..20b58a5 100644 --- a/config/doom/config.org +++ b/config/doom/config.org @@ -109,7 +109,7 @@ Using appt is quite fine. I get a remainder just above the minibuffer There is no loud sound or anything disturbing, just the appearance of this new window. #+BEGIN_SRC emacs-lisp -(after! org- +(after! org-agenda (setq appt-display-mode-line t ;; show in the modeline appt-display-format 'echo) ;; use our func @@ -120,6 +120,20 @@ this new window. ;; update appt each time agenda opened (add-hook 'org-agenda-finalize-hook 'org-agenda-to-appt)) #+END_SRC +** Calendar sync +#+begin_src emacs-lisp +(use-package! cal-sync + :load-path "~/dev/org-caldav" + :commands (cal-sync-push cal-sync-import-file cal-sync-delete) + :init (map! :leader + (:prefix-map "mc" + "p" #'cal-sync-push + "f" #'cal-sync-import-file)) + :config + (setq cal-sync-url "https://cloud.oscarnajera.com/remote.php/dav/calendars/oscar" + cal-sync-calendar-id "personal" + org-icalendar-date-time-format ":%Y%m%dT%H%M%SZ")) +#+end_src * Email ** Notmuch #+begin_src emacs-lisp :tangle "packages.el" -- cgit v1.2.3