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
(setq emms-mode-line-icon-color "white")
(emms-all)
(emms-mpris-enable)
(add-hook 'emms-player-started-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
(setq emms-mode-line-icon-color "white")
(emms-all)
(emms-mpris-enable)
(add-hook 'emms-player-started-hook #'emms-show)
(add-hook 'emms-player-paused-hook #'emms-show))
#+END_SRC

View file

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