Compare commits
2 Commits
c3112365fe
...
6b1ccb0b4b
| Author | SHA1 | Date |
|---|---|---|
|
|
6b1ccb0b4b | |
|
|
9d4b1dc6f2 |
11
init.el
11
init.el
|
|
@ -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")
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue