From 9d4b1dc6f252206d671028c41b0e9da76472d6ad Mon Sep 17 00:00:00 2001 From: cspark Date: Thu, 26 Feb 2026 19:19:54 +0000 Subject: [PATCH] Timer alert noise --- init.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/init.el b/init.el index 2df450b..f2d59fd 100644 --- a/init.el +++ b/init.el @@ -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