diff options
| author | Craig Jennings <c@cjennings.net> | 2026-02-04 05:41:08 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-02-04 05:41:08 -0600 |
| commit | 3d6a6155b68ae194fc17f8e0ca877a7f934a46b7 (patch) | |
| tree | 721857a6e38c5468d5e6e681902e27f0c86c317f /modules/calendar-sync.el | |
| parent | 9ba245972d463c2bd226b39f9fbffbc8c24eb74c (diff) | |
refactor(calendar): move calendar URLs into calendar-sync.el
Consolidate calendar configuration within the module itself rather
than requiring setup in init.el. Improves module encapsulation.
Diffstat (limited to 'modules/calendar-sync.el')
| -rw-r--r-- | modules/calendar-sync.el | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/calendar-sync.el b/modules/calendar-sync.el index 53a38f6f..d3b6880a 100644 --- a/modules/calendar-sync.el +++ b/modules/calendar-sync.el @@ -90,6 +90,18 @@ Example: :url \"https://calendar.proton.me/api/calendar/v1/url/.../calendar.ics\" :file pcal-file)))") +;; Calendar sync (one-way: Google/Proton → Org) +(setq calendar-sync-calendars + `((:name "google" + :url "https://calendar.google.com/calendar/ical/craigmartinjennings%40gmail.com/private-1dad154d6a2100e755f76e2d0502f6aa/basic.ics" + :file ,gcal-file) + (:name "proton" + :url "https://calendar.proton.me/api/calendar/v1/url/MpLtuwsUNoygyA_60GvJE5cz0hbREbrAPBEJoWDRpFEstnmzmEMDb7sjLzkY8kbkF10A7Be3wGKB1-vqaLf-pw==/calendar.ics?CacheKey=LrB9NG5Vfqp5p2sy90H13g%3D%3D&PassphraseKey=sURqFfACPM21d6AXSeaEXYCruimvSb8t0ce1vuxRAXk%3D" + :file ,pcal-file) + (:name "deepsat" + :url "https://calendar.google.com/calendar/ical/craig.jennings%40deepsat.com/private-f0250a2c6752a5ca71d7b0636587a6d5/basic.ics" + :file ,dcal-file))) + (defvar calendar-sync-interval-minutes 60 "Sync interval in minutes. Default: 60 minutes (1 hour).") |
