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

18 lines
394 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" = "󰝚";
"spotify" = "󰓇";
"ncspot" = "󰓇";
};
"status-icons" = {
"playing" = "󰐊";
"paused" = "󰏤";
"stopped" = "󰓛";
};
"ignored-players" = [ "firefox" ];
}