commit ce4fb685aa641f07783084bff56304515b4f534f
parent c9f29b8dbb57c4f6d3eeafd014391110d0686883
Author: Dan Callaghan <djc@djc.id.au>
Date: Wed, 21 Oct 2026 20:59:33 +1100
contrib/screenshot-generator: run oxipng over screenshots
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/contrib/screenshot-generator/default.nix b/contrib/screenshot-generator/default.nix
@@ -214,6 +214,7 @@ let
grim
jq
sway
+ oxipng
procps
];
env = {
@@ -244,6 +245,8 @@ let
kill -TERM $foot_pid
wait $foot_pid || :
done
+
+ oxipng -o 2 --strip all $out/*.png
'';
};
in