2023-10-31 07:59:37 +00:00
|
|
|
(when (require 'emms-setup nil :noerror)
|
2023-10-29 07:00:48 +00:00
|
|
|
(setq emms-player-list '(emms-player-mpv)
|
|
|
|
emms-info-functions '(emms-info-native)
|
|
|
|
emms-source-file-default-directory "~/Music"
|
2023-10-29 07:23:22 +00:00
|
|
|
emms-lyrics-dir "~/Music/lyrics"
|
|
|
|
emms-mode-line-icon-color "white")
|
2023-10-29 07:00:48 +00:00
|
|
|
|
2023-10-27 08:57:48 +01:00
|
|
|
(emms-all)
|
2023-10-27 11:45:06 +01:00
|
|
|
(add-hook 'emms-player-started-hook #'emms-show)
|
|
|
|
(add-hook 'emms-player-paused-hook #'emms-show)
|
2023-10-29 07:00:48 +00:00
|
|
|
|
2023-10-27 08:57:48 +01:00
|
|
|
(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))))
|
2023-10-27 06:51:20 +01:00
|
|
|
|
2023-10-26 16:11:52 +01:00
|
|
|
(provide 'custom-media-config)
|