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

17 lines
368 B
Nix
Raw Normal View History

2023-09-28 07:11:32 +01:00
let titleFormat = " <b>{title}</b> [{position}/{length}]";
in {
"format" = "{player_icon} ${titleFormat} {status_icon}";
"interval" = 1;
"player-icons" = {
"default" = "󰲸";
"mpv" = "󰤽";
2023-10-21 08:28:40 +01:00
"Spot" = "󰓇";
};
"status-icons" = {
"playing" = "󰐊";
"paused" = "󰏤";
"stopped" = "󰓛";
};
"ignored-players" = [ "firefox" ];
}