diff options
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 |