Simple doom-modeline segment to display information about the currently playing song in the modeline. You can control the format of the modeline segment with doom-modeline-now-playing-format
(see the documentation for possible options).
It’s also possible to toggle the status by clicking the status icon, an interactive function is also provided: now-playing-toggle-status.
- playerctl
Installation instructions should be linked above. If your OS doesn’t support `playerctl`, please contribute alternatives!
Add after doom-modeline
on your load path, and add to your config in “Usage”
Install doom-modeline-now-playing
with your MELPA-enabled package manager of choice
Add the below line somewhere in your config after loading the module
(doom-modeline-now-playing-timer)
And add to any modeline
config you want, an example is listed below
(doom-modeline-def-modeline 'main
'(bar workspace-name exwm-workspaces modals matches buffer-info remote-host parrot selection-info)
'(now-playing objed-state misc-info persp-name grip mu4e gnus github debug repl lsp minor-modes major-mode process vcs checker))