waybar: playerctl ignore mpd

This commit is contained in:
Leonardo Eugênio 2023-02-07 20:02:52 -03:00
parent 670ae65181
commit 76213c15fd

View file

@ -96,8 +96,8 @@ in
};
"custom/playerctl" = {
format = "{}";
exec = "${pkgs.playerctl}/bin/playerctl metadata title";
on-click = "${pkgs.playerctl}/bin/playerctl play-pause";
exec = "${pkgs.playerctl}/bin/playerctl --ignore-player=mpd metadata title";
on-click = "${pkgs.playerctl}/bin/playerctl --ignore-player=mpd play-pause";
interval = 1;
tooltip = false;
};