forked from gergely/org-clock-waybar
Add-hook org-clock-cancel-hook
This commit is contained in:
parent
e4987c99ad
commit
3e71766f85
@ -129,6 +129,7 @@ emacsclient --eval '(org-clock-waybar-output-task)'"
|
|||||||
|
|
||||||
It adds `org-clock-waybar-save-task' to both `org-clock-in-hook' and
|
It adds `org-clock-waybar-save-task' to both `org-clock-in-hook' and
|
||||||
`org-clock-out-hook'."
|
`org-clock-out-hook'."
|
||||||
|
(add-hook 'org-clock-cancel-hook #'org-clock-waybar-save-task)
|
||||||
(add-hook 'org-clock-in-hook #'org-clock-waybar-save-task)
|
(add-hook 'org-clock-in-hook #'org-clock-waybar-save-task)
|
||||||
(add-hook 'org-clock-out-hook #'org-clock-waybar-save-task)
|
(add-hook 'org-clock-out-hook #'org-clock-waybar-save-task)
|
||||||
(add-hook 'kill-emacs-hook #'org-clock-waybar-save-task))
|
(add-hook 'kill-emacs-hook #'org-clock-waybar-save-task))
|
||||||
|
Loading…
Reference in New Issue
Block a user