waybar: tweak playerctl

This commit is contained in:
Leonardo Eugênio 2023-05-15 12:49:01 -03:00
parent 37aed2697d
commit 15d8216494
2 changed files with 2 additions and 1 deletions

View file

@ -96,7 +96,7 @@ in
on-scroll-down = "${mpc} vol -10"; on-scroll-down = "${mpc} vol -10";
}; };
"custom/playerctl" = { "custom/playerctl" = {
format = "{}"; format = "{} ";
exec = "${pkgs.playerctl-status}/bin/playerctl-status"; exec = "${pkgs.playerctl-status}/bin/playerctl-status";
on-click = "${pkgs.playerctl}/bin/playerctl --ignore-player=mpd play-pause"; on-click = "${pkgs.playerctl}/bin/playerctl --ignore-player=mpd play-pause";
interval = 1; interval = 1;

View file

@ -36,6 +36,7 @@ window#waybar.solo {
#mpd, #mpd,
#custom-mpd, #custom-mpd,
#custom-playerctl,
#tray, #tray,
#clock, #clock,
#network, #network,