From ad9a1e8f5c215a3cb351d2ee3ba28549a2f5aa3f Mon Sep 17 00:00:00 2001 From: mms Date: Tue, 12 Mar 2024 16:26:40 +0100 Subject: feat: boombox --- mms-misc.org | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'mms-misc.org') diff --git a/mms-misc.org b/mms-misc.org index 1b7b7f2..6c851f6 100644 --- a/mms-misc.org +++ b/mms-misc.org @@ -146,3 +146,24 @@ And I want to have as =leader - enter - enter= (mms-leader-keys "RET RET" '(lambda () (interactive) (mms-open-link-under-point) :wk "follow link")) #+end_src + + +* Music player + +I listen to local files, so I want to control it in Emacs. + +#+begin_src emacs-lisp + (use-package emms + :config + (emms-all) + (setq emms-player-list '(emms-player-mpv) + emms-info-functions '(emms-info-native)) + ) + + (mms-leader-keys + "p p" '(lambda () (interactive) (emms-pause) :wk "Pause") + "p e" '(lambda () (interactive) (emms) :wk "Emms") + ) +#+end_src + +#+RESULTS: -- cgit v1.2.3