Compare commits

...

2 Commits

Author SHA1 Message Date
Curt Spark 6b1ccb0b4b Switch to Nextcloud for org 2026-02-26 19:20:05 +00:00
Curt Spark 9d4b1dc6f2 Timer alert noise 2026-02-26 19:19:54 +00:00
1 changed files with 9 additions and 2 deletions

11
init.el
View File

@ -196,7 +196,7 @@
:ensure (:wait t)
:demand t
:config
(setq org-agenda-files '("~/Agenda"))
(setq org-agenda-files '("~/Nextcloud/Agenda"))
;This is will integrate the Calendar/Diary into Org-Agenda, so you can get access to dates on public holidays etc. Set diary to true:
(setq org-agenda-include-diary t)
;Ensure done date/closed timestamps are logged
@ -225,9 +225,16 @@
(setq org-pomodoro-audio-player "mpv")
)
(defun sound-alert (alert)
"Play a sound notification and show message ALERT."
(sound-wav-play (expand-file-name (concat user-emacs-directory "elpaca/builds/org-pomodoro/resources/bell.wav")))
(message alert))
; Org timer set timer alert sound
(defun org-timer-sound-alert ()
"Sound notification on org timer finish."
(sound-alert "Timer done!"))
(add-hook 'org-timer-done-hook 'org-timer-sound-alert)
; System notifications of org agenda items
(use-package org-alert
:ensure t
@ -243,7 +250,7 @@
:ensure t
:after org
:config
(setq org-journal-dir "~/Journal/")
(setq org-journal-dir "~/Nextcloud/Journal/")
(setq org-journal-file-type 'daily)
(setq org-journal-file-format "%Y%m%d.org")
)