diff options
Diffstat (limited to '.emacs.d')
-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) |