From f7bce4d72ad097db7284e1f6e675409e7bda46c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Sun, 25 Apr 2021 12:42:00 +0200 Subject: setup agenda alerts --- config/doom/config.org | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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" -- cgit v1.2.3