typo
This commit is contained in:
parent
7547d07a76
commit
b43b341bdd
11
flake.nix
11
flake.nix
@ -49,14 +49,9 @@
|
|||||||
mkdir -p $out/share/
|
mkdir -p $out/share/
|
||||||
ln -s "${desktopItem}/share/applications" $out/share/applications
|
ln -s "${desktopItem}/share/applications" $out/share/applications
|
||||||
|
|
||||||
# Install icons
|
# Install icon
|
||||||
mkdir -p $out/share/icons/
|
mkdir -p $out/share/icons/1024x1024/apps
|
||||||
for dimension in 128 256 512; do
|
ln -s ${icon} $out/share/icons/1024x1024/apps/${name}.png
|
||||||
dimensions=''${dimension}x''${dimension}
|
|
||||||
mkdir -p $out/share/icons/hicolor/$dimensions/apps
|
|
||||||
|
|
||||||
"${pkgs.imagemagick}/bin/convert" ${icon} -resize $dimensions $out/share/icons/hicolor/$dimensions/apps/${name}.png
|
|
||||||
done
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user