1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 18:21:07 +01:00

feat: add favicon script

This commit is contained in:
Kierán Meinhardt
2019-09-27 23:53:16 +02:00
parent 7fe20551f5
commit a36decd409
3 changed files with 6 additions and 0 deletions

4
packages/favicon.nix Normal file
View File

@@ -0,0 +1,4 @@
{ imagemagick, writers }:
writers.writeDashBin "favicon" ''
${imagemagick}/bin/convert "$1" -define icon:auto-resize=64,48,32,16 "''${2-favicon.ico}"
''