nixos/home/emacs/modules/custom-media-config.el
Evie Litherland-Smith ef73c2e417 Customise dashboard
Add hydra for controlling emms
2023-10-27 08:57:48 +01:00

20 lines
528 B
EmacsLisp

(setq emms-player-list '(emms-player-mpv)
emms-info-functions '(emms-info-native)
emms-source-file-default-directory "~/Music"
emms-lyrics-dir "~/Music/lyrics")
(when (require 'emms-setup nil :noerror)
(emms-all)
(when (require 'hydra nil :noerror)
(defhydra emms (global-map "C-c e")
"emms"
("b" emms-smart-browse)
("d" emms-show)
("s" emms-start)
("S" emms-stop)
("n" emms-next)
("p" emms-previous)
("P" emms-pause))))
(provide 'custom-media-config)