nixos/home/hyprland/waybar/modules/mpris.nix

17 lines
368 B
Nix

let titleFormat = " <b>{title}</b> [{position}/{length}]";
in {
"format" = "{player_icon} ${titleFormat} {status_icon}";
"interval" = 1;
"player-icons" = {
"default" = "󰲸";
"mpv" = "󰤽";
"Spot" = "󰓇";
};
"status-icons" = {
"playing" = "󰐊";
"paused" = "󰏤";
"stopped" = "󰓛";
};
"ignored-players" = [ "firefox" ];
}