diff --git a/data/icons/128.svg b/data/icons/128.svg
index 4cf18a4..ac947b7 100644
--- a/data/icons/128.svg
+++ b/data/icons/128.svg
@@ -7,82 +7,18 @@
version="1.1"
id="svg4"
xml:space="preserve"
- sodipodi:docname="128.svg"
- inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
- xmlns:svg="http://www.w3.org/2000/svg">image/svg+xml
-
diff --git a/data/icons/32.svg b/data/icons/32.svg
index c9c53bd..c727b70 100644
--- a/data/icons/32.svg
+++ b/data/icons/32.svg
@@ -5,76 +5,13 @@
height="32"
id="svg6860"
xml:space="preserve"
- sodipodi:docname="32.svg"
- inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/">/dev/null; echo $?) == 0 ]; then
+ INKSCAPE='inkscape'
+else
+ INKSCAPE='flatpak run org.inkscape.Inkscape'
+fi
+
+git diff --cached --name-status --diff-filter=ACMR | while read STATUS FILE; do
+ if [[ "$FILE" =~ ^.+(svg)$ ]]; then
+ $INKSCAPE --vacuum-defs -z $CDIR/$FILE --export-plain-svg=$CDIR/$FILE
+ fi
+done
+
+git add .
+exit 0