aboutsummaryrefslogtreecommitdiffstats
path: root/config/doom/config.org
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2021-04-25 14:01:53 +0200
committerÓscar Nájera <hi@oscarnajera.com>2021-04-25 14:18:00 +0200
commit326489078f5762ad775adcff5e7c542176ca1776 (patch)
tree14714d4c71c221d52b85e0d4e7d43b75cb443e58 /config/doom/config.org
parent3972e4836fda157b26dfef10adc5ad9dbb70d942 (diff)
downloaddotfiles-326489078f5762ad775adcff5e7c542176ca1776.tar.gz
dotfiles-326489078f5762ad775adcff5e7c542176ca1776.tar.bz2
dotfiles-326489078f5762ad775adcff5e7c542176ca1776.zip
Manage push of calendar events
Diffstat (limited to 'config/doom/config.org')
-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"