Sync from Windows

This commit is contained in:
js0ny 2025-03-07 15:02:52 +00:00
parent 85ac355294
commit 5593edde3a
8 changed files with 75 additions and 11 deletions

View file

@ -8,11 +8,18 @@
(require 'org-pomodoro)
;; Variables
(defcustom org-pomodoro-music-player-command "playerctl"
(defcustom org-pomodoro-music-player-command
(cond
((eq system-type 'windows-nt) "clmcontrol")
((eq system-type 'darwin) "nowplaying-cli")
((eq system-type 'gnu/linux) "playerctl")
(t "playerctl"))
"Command to control the music player."
:type 'string
:group 'org-pomodoro)
(defcustom org-pomodoro-music-player-args nil
"Arguments to pass to the music player command."
:type '(repeat string)