diff options
author | jao <jao@gnu.org> | 2021-06-01 01:31:33 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-06-01 01:31:33 +0100 |
commit | 4ffdc3317f332fee97697a976c517bfe7edbc544 (patch) | |
tree | fbbd5a6d460aac16966c607a67efaed13b8db712 /init.org | |
parent | f44ed3c3ecee463e7d9ee742aaee6950e9f6cfff (diff) | |
download | elibs-4ffdc3317f332fee97697a976c517bfe7edbc544.tar.gz elibs-4ffdc3317f332fee97697a976c517bfe7edbc544.tar.bz2 |
mpc/mpdn split: elmd is only needed for notifications
Diffstat (limited to 'init.org')
-rw-r--r-- | init.org | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -2950,8 +2950,6 @@ #+end_src *** mpc #+begin_src emacs-lisp - (use-package elmpd :ensure t) - (use-package jao-mpc :demand t :commands jao-mpc-setup) @@ -2972,23 +2970,23 @@ (defalias 'jao-player-echo 'jao-mpc-echo-current) (defalias 'jao-player-list 'jao-mpc-show-playlist) (defalias 'jao-player-browse 'jao-mpc-show-albums) + + (use-package elmpd :ensure t) + (use-package jao-mpdn :demand t) + (jao-mpdn-setup) #+end_src *** mopidy #+begin_src emacs-lisp (defvar jao-mopidy-port 6669) - (defvar jao-mopidy-conn - (let ((jao-mpc-port jao-mopidy-port)) (jao-mpc--connect "jao-mopidy"))) (defmacro jao-mopidy-def (name args &rest body) `(defun ,name ,args (interactive) - (let ((jao-mpc--connection jao-mopidy-conn) - (jao-mpc-port jao-mopidy-port)) - ,@body))) + (let ((jao-mpc-port jao-mopidy-port)) ,@body))) (jao-mopidy-def jao-mopidy-show-playlist () (jao-mpc-show-playlist)) (jao-mopidy-def jao-mopidy-clear () (jao-mpc-clear)) - (jao-mopidy-def jao-mopidy-disconnect () (jao-mpc-disconnect)) + #+end_src *** hydras #+begin_src emacs-lisp |