From 3561e60c42673ce0ded823d2082fbb1c4db7672b Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 27 Nov 2023 15:35:33 +0000 Subject: [PATCH] EMMS: enable MPRIS support, waybar MPRIS module ignore mpv --- home/emacs/init.el | 1 + home/emacs/init.org | 1 + home/hyprland/waybar/default.nix | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/home/emacs/init.el b/home/emacs/init.el index 8c75468b..0ccc2627 100644 --- a/home/emacs/init.el +++ b/home/emacs/init.el @@ -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)) diff --git a/home/emacs/init.org b/home/emacs/init.org index 9c6e08d6..78e309f1 100644 --- a/home/emacs/init.org +++ b/home/emacs/init.org @@ -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 diff --git a/home/hyprland/waybar/default.nix b/home/hyprland/waybar/default.nix index 5e4f2832..15e00f58 100644 --- a/home/hyprland/waybar/default.nix +++ b/home/hyprland/waybar/default.nix @@ -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;