mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
I'm drowning in late todo notifications
This commit is contained in:
parent
4733b6dae6
commit
a695931a3d
|
@ -1067,15 +1067,6 @@ tasks."
|
|||
:map org-super-agenda-header-map
|
||||
"k" 'org-agenda-previous-line)
|
||||
|
||||
(add-load-path! "~/.emacs.d/org-yaap")
|
||||
(require 'org-yaap)
|
||||
(setq org-yaap-alert-title "Org Agenda")
|
||||
(setq org-yaap-overdue-alerts 20)
|
||||
(setq org-yaap-alert-before 20)
|
||||
(setq org-yaap-daily-alert '(7 30))
|
||||
(setq org-yaap-daemon-idle-time 30)
|
||||
(org-yaap-mode 1)
|
||||
|
||||
(add-load-path! "~/.emacs.d/org-timeblock")
|
||||
(require 'org-timeblock)
|
||||
|
||||
|
|
|
@ -1229,7 +1229,7 @@ On Wayland, EAF doesn't work.
|
|||
#+END_SRC
|
||||
|
||||
*** Org Agenda Notifications
|
||||
#+BEGIN_SRC emacs-lisp :tangle config.el
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(add-load-path! "~/.emacs.d/org-yaap")
|
||||
(require 'org-yaap)
|
||||
(setq org-yaap-alert-title "Org Agenda")
|
||||
|
|
|
@ -307,10 +307,10 @@
|
|||
if pgrep -x .obs-wrapped > /dev/null;
|
||||
then
|
||||
pkill -STOP fnott;
|
||||
emacsclient --eval "(org-yaap-mode 0)";
|
||||
#emacsclient --eval "(org-yaap-mode 0)";
|
||||
else
|
||||
pkill -CONT fnott;
|
||||
emacsclient --eval "(if (not org-yaap-mode) (org-yaap-mode 1))";
|
||||
#emacsclient --eval "(if (not org-yaap-mode) (org-yaap-mode 1))";
|
||||
fi
|
||||
sleep 10;
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue