diff options
author | Thanos Apollo <[email protected]> | 2024-08-21 20:32:20 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-08-21 20:32:20 +0300 |
commit | afa39412df6c7d03d070ab6b123a23aaec1ae7f0 (patch) | |
tree | 061f8957eff3d1a802704e1b052a70ecf5fd3e5e /.config/emacs | |
parent | 3b0510539d70ec614043bf2374c26f6de7530ec2 (diff) |
emacs: Add emms
Diffstat (limited to '.config/emacs')
-rw-r--r-- | .config/emacs/init.el | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el index f50038e..551aa24 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -1112,6 +1112,30 @@ By default, returns all jabber related buffers format." :config (when is-zeus (add-to-list 'yas-snippet-dirs "~/Dev/guile/guix/etc/snippets/yas"))) +(use-package emms + :defer t + :init (define-prefix-command 'thanos/emms) + :config + (with-eval-after-load 'emms + (emms-all) + (setq emms-source-file-default-directory "/hdd/Music" + emms-info-asynchronously t + emms-show-format "♪ %s") + (emms-default-players)) + (setf emms-player-mpv-parameters '("--quiet" "--really-quiet" "--no-audio-display" "--no-video")) + :bind (("C-z" . thanos/emms) + :map thanos/emms + ("n" . 'emms-next) + ("p" . 'emms-previous) + ("SPC" . 'emms-pause) + ("e" . 'emms) + ("s" . 'emms-browser-search-by-names) + ("C-e" . 'emms-smart-browse) + :map emms-playlist-mode-map + (("A" . 'emms-add-directory-tree)) + :map emms-browser-search-mode-map + (("s" . 'emms-browser-search-by-names)))) + (use-package debbugs :ensure nil) |