From b5da5a496af89f1a984bf7f449c6d6f81213ad9d Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sat, 3 Jun 2023 19:58:31 +0300 Subject: emacs: Add EMMS Add emms setup with mpv and binding at thanos/applications --- emacs.org | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'emacs.org') diff --git a/emacs.org b/emacs.org index 0ee1358..67d8b37 100755 --- a/emacs.org +++ b/emacs.org @@ -24,7 +24,8 @@ Set backup fails at ~~/Trash~ ** List of required packages Request the following packages: #+begin_src emacs-lisp - (defconst my-package-list '(tree-sitter + (defconst my-package-list '(emms + tree-sitter org-snooze org-drill all-the-icons @@ -738,6 +739,19 @@ Create function to watch videos using ~mpv~ ("crun checkpatch script" . my-mu4e-action-run-check-patch) ("MCheck if merged" . my-mu4e-action-check-if-merged))))) #+end_src +* EMMS +#+begin_src emacs-lisp + (emms-all) + (setq emms-player-list '(emms-player-mpv) + emms-player-mpv-parameters '("--no-video") + emms-info-functions '(emms-info-native) + emms-playlist-buffer-name "*Music*" + emms-source-file-default-directory "~/Music/work-playlists") +#+end_src +** Keybindings +#+begin_src emacs-lisp + (define-key thanos/applications-map (kbd "e") 'emms) +#+end_src * Eshell First let's set ~eshell-visual-commands~ + This are commands cannot be displayed properly with ~eshell~ -- cgit v1.2.3