Compare commits
No commits in common. "6b1ccb0b4b57ce23e04d44eacc354d1a6679103b" and "c3112365fe4ba6afd76818386d9d5da6e67b8dfb" have entirely different histories.
6b1ccb0b4b
...
c3112365fe
11
init.el
11
init.el
|
|
@ -196,7 +196,7 @@
|
||||||
:ensure (:wait t)
|
:ensure (:wait t)
|
||||||
:demand t
|
:demand t
|
||||||
:config
|
:config
|
||||||
(setq org-agenda-files '("~/Nextcloud/Agenda"))
|
(setq org-agenda-files '("~/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:
|
;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)
|
(setq org-agenda-include-diary t)
|
||||||
;Ensure done date/closed timestamps are logged
|
;Ensure done date/closed timestamps are logged
|
||||||
|
|
@ -225,16 +225,9 @@
|
||||||
(setq org-pomodoro-audio-player "mpv")
|
(setq org-pomodoro-audio-player "mpv")
|
||||||
)
|
)
|
||||||
(defun sound-alert (alert)
|
(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")))
|
(sound-wav-play (expand-file-name (concat user-emacs-directory "elpaca/builds/org-pomodoro/resources/bell.wav")))
|
||||||
(message alert))
|
(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
|
; System notifications of org agenda items
|
||||||
(use-package org-alert
|
(use-package org-alert
|
||||||
:ensure t
|
:ensure t
|
||||||
|
|
@ -250,7 +243,7 @@
|
||||||
:ensure t
|
:ensure t
|
||||||
:after org
|
:after org
|
||||||
:config
|
:config
|
||||||
(setq org-journal-dir "~/Nextcloud/Journal/")
|
(setq org-journal-dir "~/Journal/")
|
||||||
(setq org-journal-file-type 'daily)
|
(setq org-journal-file-type 'daily)
|
||||||
(setq org-journal-file-format "%Y%m%d.org")
|
(setq org-journal-file-format "%Y%m%d.org")
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue