diff options
author | mms <michal@sapka.me> | 2024-03-12 16:26:40 +0100 |
---|---|---|
committer | mms <michal@sapka.me> | 2024-03-12 16:26:40 +0100 |
commit | ad9a1e8f5c215a3cb351d2ee3ba28549a2f5aa3f (patch) | |
tree | 701d5f81f060e6fb4ea98ad32c82f2f0a30efd65 /mms-misc.org | |
parent | 0ac02059e563241b6d1b0b1e281198d7b1d26436 (diff) |
feat: boombox
Diffstat (limited to 'mms-misc.org')
-rw-r--r-- | mms-misc.org | 21 |
1 files changed, 21 insertions, 0 deletions
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: |