mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-01 20:55:51 +01:00
319dc3480c
Fixes an issue with the application showing up as a question mark after being launched in ironbar.
21 lines
513 B
Nix
21 lines
513 B
Nix
{
|
|
nixpkgs.overlays = [
|
|
(final: prev: {
|
|
srb2 = prev.srb2.overrideAttrs (oldAttrs: {
|
|
desktopItems = [
|
|
(prev.makeDesktopItem rec {
|
|
name = "Sonic Robo Blast 2";
|
|
exec = oldAttrs.pname;
|
|
icon = oldAttrs.pname;
|
|
comment = oldAttrs.meta.description;
|
|
desktopName = name;
|
|
genericName = name;
|
|
startupWMClass = ".srb2-wrapped";
|
|
categories = [ "Game" ];
|
|
})
|
|
];
|
|
});
|
|
})
|
|
];
|
|
}
|