EMMS: enable MPRIS support, waybar MPRIS module ignore mpv

This commit is contained in:
Evie Litherland-Smith 2023-11-27 15:35:33 +00:00
parent 7190623426
commit 3561e60c42
3 changed files with 4 additions and 2 deletions

View file

@ -726,6 +726,7 @@
:config :config
(setq emms-mode-line-icon-color "white") (setq emms-mode-line-icon-color "white")
(emms-all) (emms-all)
(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)) (add-hook 'emms-player-paused-hook #'emms-show))

View file

@ -864,6 +864,7 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
:config :config
(setq emms-mode-line-icon-color "white") (setq emms-mode-line-icon-color "white")
(emms-all) (emms-all)
(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)) (add-hook 'emms-player-paused-hook #'emms-show))
#+END_SRC #+END_SRC

View file

@ -70,15 +70,15 @@
"interval" = 1; "interval" = 1;
"player-icons" = { "player-icons" = {
"default" = "󰲸"; "default" = "󰲸";
"mpv" = "󰤽";
"ncspot" = "󰓇"; "ncspot" = "󰓇";
"emms" = "";
}; };
"status-icons" = { "status-icons" = {
"playing" = "󰐊"; "playing" = "󰐊";
"paused" = "󰏤"; "paused" = "󰏤";
"stopped" = "󰓛"; "stopped" = "󰓛";
}; };
"ignored-players" = [ "firefox" "chromium" ]; "ignored-players" = [ "firefox" "chromium" "mpv" ];
}; };
pulseaudio = { pulseaudio = {
scroll-step = 5; scroll-step = 5;