aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2024-08-29 19:14:42 +0200
committerOscar Najera <hi@oscarnajera.com>2024-08-29 19:14:42 +0200
commit9049ce7332b453f4567e28343cca1fbad4519e14 (patch)
tree6be2a1685a13eccfdc3dd36a71286d4aa1078541
parent59a95b802eee2de3b6b226cd74905238fa5e6c14 (diff)
downloaddotfiles-9049ce7332b453f4567e28343cca1fbad4519e14.tar.gz
dotfiles-9049ce7332b453f4567e28343cca1fbad4519e14.tar.bz2
dotfiles-9049ce7332b453f4567e28343cca1fbad4519e14.zip
cal-sync new config style
-rw-r--r--config/doom/config.org6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/doom/config.org b/config/doom/config.org
index eaadbbf..beda9a9 100644
--- a/config/doom/config.org
+++ b/config/doom/config.org
@@ -241,8 +241,10 @@ this new window.
(call-process "org_agenda_sync"
nil (list :file (expand-file-name "~/org/caldav.org")) nil
"--format" "org"))
- (setq cal-sync-url "https://oscar@cloud.oscarnajera.com/remote.php/dav/calendars/oscar"
- cal-sync-calendar-id "personal-1"
+ (setq cal-sync-connection
+ (cal-sync-calendar-create
+ "https://cloud.oscarnajera.com/remote.php/dav/calendars/oscar/personal-1/"
+ "oscar" "~/org/caldav.org")
org-icalendar-date-time-format ":%Y%m%dT%H%M%SZ"))
#+end_src
** References