Add emms and configure it to work with mpd.
This commit is contained in:
16
elisp/emms-mpd-setup.el
Normal file
16
elisp/emms-mpd-setup.el
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
(require 'emms-setup)
|
||||||
|
(require 'emms-player-mpd)
|
||||||
|
(emms-all)
|
||||||
|
(setq emms-seek-seconds 5)
|
||||||
|
(setq emms-player-list '(emms-player-mpd))
|
||||||
|
(setq emms-info-functions '(emms-info-mpd))
|
||||||
|
(setq emms-player-mpd-server-name "localhost")
|
||||||
|
(setq emms-player-mpd-server-port "6700")
|
||||||
|
;:bind
|
||||||
|
;("s-m p" . emms)
|
||||||
|
;("s-m b" . emms-smart-browse)
|
||||||
|
;("s-m r" . emms-player-mpd-update-all-reset-cache)
|
||||||
|
;("<XF86AudioPrev>" . emms-previous)
|
||||||
|
;("<XF86AudioNext>" . emms-next)
|
||||||
|
;("<XF86AudioPlay>" . emms-pause)
|
||||||
|
;("<XF86AudioStop>" . emms-stop)
|
||||||
@@ -19,6 +19,12 @@
|
|||||||
(exwm-config-default)
|
(exwm-config-default)
|
||||||
(require 'exwm-systemtray)
|
(require 'exwm-systemtray)
|
||||||
(exwm-systemtray-enable))
|
(exwm-systemtray-enable))
|
||||||
|
|
||||||
|
;; Multimedia
|
||||||
|
(use-package emms
|
||||||
|
:config
|
||||||
|
(load "~/.emacs.d/elisp/emms-mpd-setup.el"))
|
||||||
|
|
||||||
;; Programming environment
|
;; Programming environment
|
||||||
;; git
|
;; git
|
||||||
(use-package magit)
|
(use-package magit)
|
||||||
|
|||||||
Reference in New Issue
Block a user