Packaging/Icons: Difference between revisions
Haruki7049 (talk | contribs) Change `See also` to h3 headline |
Haruki7049 (talk | contribs) Marked this version for translation |
||
| Line 1: | Line 1: | ||
<translate> | <translate> | ||
== Application icons == | == Application icons == <!--T:1--> | ||
<!--T:2--> | |||
Application icons should be installed to <code>$out/share/icons/hicolor</code>. | Application icons should be installed to <code>$out/share/icons/hicolor</code>. | ||
<!--T:3--> | |||
Example code for the now outdated [https://github.com/nixos/nixpkgs/blob/c8e5c5c2228ddd58f01b7229e0bb4a92a9585990/pkgs/applications/office/scribus/1_4.nix scribus v1.4] app: | Example code for the now outdated [https://github.com/nixos/nixpkgs/blob/c8e5c5c2228ddd58f01b7229e0bb4a92a9585990/pkgs/applications/office/scribus/1_4.nix scribus v1.4] app: | ||
</translate> | </translate> | ||
| Line 41: | Line 43: | ||
<translate> | <translate> | ||
<!--T:4--> | |||
<code>-background none</code> will create transparent icons. | <code>-background none</code> will create transparent icons. | ||
Alternative: <code>-background white</code>. | Alternative: <code>-background white</code>. | ||
=== See also === | === See also === <!--T:5--> | ||
<!--T:6--> | |||
Another example handling icons [https://github.com/NixOS/nixpkgs/blob/6d8e9b4f6197f7ce5106069f13debfc8e9b1fa8b/pkgs/applications/misc/obsidian/default.nix#L62 obsidian]. | Another example handling icons [https://github.com/NixOS/nixpkgs/blob/6d8e9b4f6197f7ce5106069f13debfc8e9b1fa8b/pkgs/applications/misc/obsidian/default.nix#L62 obsidian]. | ||
</translate> | </translate> | ||