mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-25 04:20:24 +10:00
Moving to Doom Emacs!
This commit is contained in:
15
.emacs.d/modules/lang/org/contrib/pomodoro.el
Normal file
15
.emacs.d/modules/lang/org/contrib/pomodoro.el
Normal file
@@ -0,0 +1,15 @@
|
||||
;;; lang/org/contrib/pomodoro.el -*- lexical-binding: t; -*-
|
||||
;;;###if (featurep! +pomodoro)
|
||||
|
||||
(after! org-pomodoro
|
||||
;; 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))))
|
||||
Reference in New Issue
Block a user