mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 15:15:52 +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
|
:map org-super-agenda-header-map
|
||||||
"k" 'org-agenda-previous-line)
|
"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")
|
(add-load-path! "~/.emacs.d/org-timeblock")
|
||||||
(require 'org-timeblock)
|
(require 'org-timeblock)
|
||||||
|
|
||||||
|
|
|
@ -1229,7 +1229,7 @@ On Wayland, EAF doesn't work.
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** Org Agenda Notifications
|
*** Org Agenda Notifications
|
||||||
#+BEGIN_SRC emacs-lisp :tangle config.el
|
#+BEGIN_SRC emacs-lisp
|
||||||
(add-load-path! "~/.emacs.d/org-yaap")
|
(add-load-path! "~/.emacs.d/org-yaap")
|
||||||
(require 'org-yaap)
|
(require 'org-yaap)
|
||||||
(setq org-yaap-alert-title "Org Agenda")
|
(setq org-yaap-alert-title "Org Agenda")
|
||||||
|
|
|
@ -307,10 +307,10 @@
|
||||||
if pgrep -x .obs-wrapped > /dev/null;
|
if pgrep -x .obs-wrapped > /dev/null;
|
||||||
then
|
then
|
||||||
pkill -STOP fnott;
|
pkill -STOP fnott;
|
||||||
emacsclient --eval "(org-yaap-mode 0)";
|
#emacsclient --eval "(org-yaap-mode 0)";
|
||||||
else
|
else
|
||||||
pkill -CONT fnott;
|
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
|
fi
|
||||||
sleep 10;
|
sleep 10;
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue