diff options
author | Óscar Nájera <hi@oscarnajera.com> | 2021-04-25 12:42:00 +0200 |
---|---|---|
committer | Óscar Nájera <hi@oscarnajera.com> | 2021-04-25 12:42:00 +0200 |
commit | f7bce4d72ad097db7284e1f6e675409e7bda46c7 (patch) | |
tree | 58be9ec3327d96c6243c5cadd1844f6bfd05f6fb | |
parent | 15c9269c272125e254be091aee8b9ca06d2a93a4 (diff) | |
download | dotfiles-f7bce4d72ad097db7284e1f6e675409e7bda46c7.tar.gz dotfiles-f7bce4d72ad097db7284e1f6e675409e7bda46c7.tar.bz2 dotfiles-f7bce4d72ad097db7284e1f6e675409e7bda46c7.zip |
setup agenda alerts
-rw-r--r-- | config/doom/config.org | 17 |
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" |