Disable emms modeline icon, remove now playing hook for paused

This commit is contained in:
Evie Litherland-Smith 2023-11-29 07:45:06 +00:00
parent 445ac0518d
commit 54a1aa8079
2 changed files with 4 additions and 6 deletions

View file

@ -866,6 +866,7 @@
:custom :custom
(ement-save-sessions t)) (ement-save-sessions t))
(setq emms-mode-line-icon-enabled-p nil)
(use-package emms (use-package emms
:bind (("C-c e e" . emms-pause) :bind (("C-c e e" . emms-pause)
("C-c e s" . emms-stop) ("C-c e s" . emms-stop)
@ -878,11 +879,9 @@
(emms-source-file-default-directory "~/Music") (emms-source-file-default-directory "~/Music")
(emms-lyrics-dir "~/Music/lyrics") (emms-lyrics-dir "~/Music/lyrics")
:config :config
(setq emms-mode-line-icon-color "white")
(emms-all) (emms-all)
(emms-mpris-enable) (emms-mpris-enable)
(add-hook 'emms-player-started-hook #'emms-show) (add-hook 'emms-player-started-hook #'emms-show))
(add-hook 'emms-player-paused-hook #'emms-show))
;;; Whitespace ;;; Whitespace
(defun crafted-writing-configure-whitespace (use-tabs &optional use-globally &rest enabled-modes) (defun crafted-writing-configure-whitespace (use-tabs &optional use-globally &rest enabled-modes)

View file

@ -1004,6 +1004,7 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
** EMMS ** EMMS
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(setq emms-mode-line-icon-enabled-p nil)
(use-package emms (use-package emms
:bind (("C-c e e" . emms-pause) :bind (("C-c e e" . emms-pause)
("C-c e s" . emms-stop) ("C-c e s" . emms-stop)
@ -1016,11 +1017,9 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
(emms-source-file-default-directory "~/Music") (emms-source-file-default-directory "~/Music")
(emms-lyrics-dir "~/Music/lyrics") (emms-lyrics-dir "~/Music/lyrics")
:config :config
(setq emms-mode-line-icon-color "white")
(emms-all) (emms-all)
(emms-mpris-enable) (emms-mpris-enable)
(add-hook 'emms-player-started-hook #'emms-show) (add-hook 'emms-player-started-hook #'emms-show))
(add-hook 'emms-player-paused-hook #'emms-show))
#+END_SRC #+END_SRC
* TODO Writing * TODO Writing