aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/doom/config.org16
1 files changed, 15 insertions, 1 deletions
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"