From ed3387a423678cc7ec6d0e8f13eb7ab84a6621de Mon Sep 17 00:00:00 2001 From: bd Date: Fri, 31 May 2024 01:32:05 -0600 Subject: Move emms track information to new dwm status bar --- .config/emacs/modules/bd--emms.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '.config/emacs/modules/bd--emms.el') diff --git a/.config/emacs/modules/bd--emms.el b/.config/emacs/modules/bd--emms.el index 84182ab..d939691 100644 --- a/.config/emacs/modules/bd--emms.el +++ b/.config/emacs/modules/bd--emms.el @@ -15,6 +15,9 @@ playback." (use-package emms :bind (("C-z C-s" . 'emms-quickstart) ("C-z C-p" . 'emms-play-playlist)) + :hook + (emms-playlist-selection-changed . (lambda () + (start-process-shell-command "refreshstatus" nil "refreshstatus"))) :config (emms-all) (require 'emms-player-mpd) @@ -36,9 +39,8 @@ playback." (emms-source-file-default-directory (expand-file-name "~/ik/playlists/")) (emms-volume-change-function 'emms-volume-mpd-change) ;; misc - (emms-mode-line-format "%s ") (emms-playlist-buffer-name "*Playlist*") - (emms-mode-line-icon-enabled-p nil)) + (emms-mode-line-disable)) (provide 'bd--emms) -- cgit v1.2.3