Add support for org-pomodoro

This commit is contained in:
Andrew Whatson 2019-10-11 14:07:06 +10:00
parent 3f60e40f40
commit 285eab1ee5
6 changed files with 28 additions and 1 deletions

View file

@ -0,0 +1,18 @@
;;; lang/org/contrib/pomodoro.el -*- lexical-binding: t; -*-
;;;###if (featurep! +pomodoro)
(use-package! org-pomodoro
:defer t
:config
;; prefer PulseAudio to ALSA in $current_year
(setq org-pomodoro-audio-player (or (executable-find "paplay")
org-pomodoro-audio-player))
;; configure pomodoro alerts to use growl or libnotify
(alert-add-rule :category "org-pomodoro"
:style (cond (alert-growl-command
'growl)
(alert-libnotify-command
'libnotify)
(alert-default-style))))