nixos/home/emacs/modules/custom-media-config.el
Evie Litherland-Smith 0babace2b8 Add some more packages
Fix broken keybinds

Don't refresh package list on startup, have keybind for that now
2023-10-29 07:23:22 +00:00

24 lines
656 B
EmacsLisp

(when (require 'emms-setup nil :noerror)
(setq emms-player-list '(emms-player-mpv)
emms-info-functions '(emms-info-native)
emms-source-file-default-directory "~/Music"
emms-lyrics-dir "~/Music/lyrics"
emms-mode-line-icon-color "white")
(emms-all)
(add-hook 'emms-player-started-hook #'emms-show)
(add-hook 'emms-player-paused-hook #'emms-show)
(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)