aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/doom/config.org17
1 files changed, 17 insertions, 0 deletions
diff --git a/config/doom/config.org b/config/doom/config.org
index a8edd6f..067a507 100644
--- a/config/doom/config.org
+++ b/config/doom/config.org
@@ -100,6 +100,23 @@ Shamelessly copied from https://tecosaur.github.io/emacs-config/#dictionary
"caldav.org" org-directory))
"* %?\n%^T\n%i\n%a")))
#+end_src
+** Alerts
+This is to set the reminders of calendar events.
+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-
+ (setq
+ appt-display-mode-line t ;; show in the modeline
+ appt-display-format 'echo) ;; use our func
+ (run-at-time "5 minutes" (* 3600 2) 'org-agenda-to-appt)
+ (appt-activate 1) ;; active appt (appointment notification)
+ (display-time) ;; time display is required for this...
+
+ ;; update appt each time agenda opened
+ (add-hook 'org-agenda-finalize-hook 'org-agenda-to-appt))
+#+END_SRC
* Email
** Notmuch
#+begin_src emacs-lisp :tangle "packages.el"