diff options
author | Thanos Apollo <[email protected]> | 2024-04-03 05:06:20 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-04-03 05:06:20 +0300 |
commit | c0bf0f10c4188244d87c548ea97165f1a56659eb (patch) | |
tree | b9c59bb808ec0827ee8ea9056e3dd3a0e09c48d1 /.emacs.d/init.el | |
parent | 825ff4ac2d638464ff1457ccb401456145abaee2 (diff) |
emacs: Remove emms & Add moc-player
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r-- | .emacs.d/init.el | 30 |
1 files changed, 10 insertions, 20 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index a3fa689..d8662a7 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -396,26 +396,6 @@ :config (add-to-list 'auto-mode-alist '("\\.py\\'" . python-mode))) -(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 "~/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-c z" . thanos/emms) - :map thanos/emms - ("n" . 'emms-next) - ("p" . 'emms-previous) - ("SPC" . 'emms-pause) - ("e" . 'emms) - ("C-e" . 'emms-smart-browse) - :map emms-playlist-mode-map - (("A" . 'emms-add-directory-tree)))) ;; Clojure (use-package cider :defer t) @@ -652,6 +632,16 @@ (setf xref-show-xrefs-function #'consult-xref xref-show-definitions-function #'consult-xref)) +(use-package moc-player + :defer t + :straight '(moc-player :local-repo "~/Dev/emacs-lisp/moc-player") + :init (define-prefix-command 'thanos/mocp) + :bind (("C-z" . thanos/mocp) + :map thanos/mocp + ("SPC" . 'mocp-toggle-pause) + ("n" . 'mocp-next) + ("p" . 'mocp-previous))) + ;; My packages (use-package yeetube :init (define-prefix-command 'thanos/yeetube-map) |