summaryrefslogtreecommitdiff
path: root/.config/emacs/modules/bd--emms.el
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2024-05-31 01:32:05 -0600
committerbd <bdunahu@operationnull.com>2024-05-31 01:32:05 -0600
commited3387a423678cc7ec6d0e8f13eb7ab84a6621de (patch)
treeab7530997292ccbec899d4e8d332b96e3ef14594 /.config/emacs/modules/bd--emms.el
parente5a3dcffe36b91bb07a807b42a5ab5249424a1bd (diff)
Move emms track information to new dwm status bar
Diffstat (limited to '.config/emacs/modules/bd--emms.el')
-rw-r--r--.config/emacs/modules/bd--emms.el6
1 files changed, 4 insertions, 2 deletions
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)