diff --git a/gen_icons.sh b/gen_icons.sh
index 6831ecf..d9e0dd1 100755
--- a/gen_icons.sh
+++ b/gen_icons.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
dir="$( dirname "$(readlink -f "$0")" )"
@@ -7,7 +7,7 @@ if [ ! -f "${dir}"/usr/share/pixmaps/mate-hud.svg ] ; then
exit 1
fi
-if [ ! `which inkscape 2>/dev/null` ] ; then
+if ! which inkscape 2>/dev/null; then
echo "inkscape required to convert svg to png"
exit 1
fi
@@ -18,6 +18,7 @@ for d in 16 22 24 32 48 64 128 256 512 1024; do
install -dm755 "${dir}"/usr/share/icons/hicolor/${d}x${d}/apps
inkscape -w ${d} -h ${d} "${dir}"/usr/share/pixmaps/mate-hud.svg \
-o "${dir}"/usr/share/icons/hicolor/${d}x${d}/apps/mate-hud.png
+ optipng -strip all -o7 "${dir}"/usr/share/icons/hicolor/${d}x${d}/apps/mate-hud.png
done
for d in 16 22 24 32 48 64 128 256; do
@@ -25,6 +26,7 @@ for d in 16 22 24 32 48 64 128 256; do
install -dm755 "${dir}"/usr/share/icons/hicolor/${d}x${d}@2/apps
inkscape -w ${d2} -h ${d2} "${dir}"/usr/share/pixmaps/mate-hud.svg \
-o "${dir}"/usr/share/icons/hicolor/${d}x${d}@2/apps/mate-hud.png
+ optipng -strip all -o7 "${dir}"/usr/share/icons/hicolor/${d}x${d}@2/apps/mate-hud.png
done
install -Dm644 "${dir}"/usr/share/pixmaps/mate-hud.svg \
diff --git a/usr/share/icons/hicolor/1024x1024/apps/mate-hud.png b/usr/share/icons/hicolor/1024x1024/apps/mate-hud.png
index 7a6de76..d5b4f2f 100644
Binary files a/usr/share/icons/hicolor/1024x1024/apps/mate-hud.png and b/usr/share/icons/hicolor/1024x1024/apps/mate-hud.png differ
diff --git a/usr/share/icons/hicolor/128x128/apps/mate-hud.png b/usr/share/icons/hicolor/128x128/apps/mate-hud.png
index 9c1c12d..1d6ee1d 100644
Binary files a/usr/share/icons/hicolor/128x128/apps/mate-hud.png and b/usr/share/icons/hicolor/128x128/apps/mate-hud.png differ
diff --git a/usr/share/icons/hicolor/128x128@2/apps/mate-hud.png b/usr/share/icons/hicolor/128x128@2/apps/mate-hud.png
index 01891ed..62a2fc4 100644
Binary files a/usr/share/icons/hicolor/128x128@2/apps/mate-hud.png and b/usr/share/icons/hicolor/128x128@2/apps/mate-hud.png differ
diff --git a/usr/share/icons/hicolor/16x16/apps/mate-hud.png b/usr/share/icons/hicolor/16x16/apps/mate-hud.png
index d6fc516..85040c4 100644
Binary files a/usr/share/icons/hicolor/16x16/apps/mate-hud.png and b/usr/share/icons/hicolor/16x16/apps/mate-hud.png differ
diff --git a/usr/share/icons/hicolor/16x16@2/apps/mate-hud.png b/usr/share/icons/hicolor/16x16@2/apps/mate-hud.png
index e850e58..d1403e4 100644
Binary files a/usr/share/icons/hicolor/16x16@2/apps/mate-hud.png and b/usr/share/icons/hicolor/16x16@2/apps/mate-hud.png differ
diff --git a/usr/share/icons/hicolor/22x22/apps/mate-hud.png b/usr/share/icons/hicolor/22x22/apps/mate-hud.png
index 575be8d..fc51828 100644
Binary files a/usr/share/icons/hicolor/22x22/apps/mate-hud.png and b/usr/share/icons/hicolor/22x22/apps/mate-hud.png differ
diff --git a/usr/share/icons/hicolor/22x22@2/apps/mate-hud.png b/usr/share/icons/hicolor/22x22@2/apps/mate-hud.png
index 727b165..4105ccc 100644
Binary files a/usr/share/icons/hicolor/22x22@2/apps/mate-hud.png and b/usr/share/icons/hicolor/22x22@2/apps/mate-hud.png differ
diff --git a/usr/share/icons/hicolor/24x24/apps/mate-hud.png b/usr/share/icons/hicolor/24x24/apps/mate-hud.png
index d5ce1f9..d1a755f 100644
Binary files a/usr/share/icons/hicolor/24x24/apps/mate-hud.png and b/usr/share/icons/hicolor/24x24/apps/mate-hud.png differ
diff --git a/usr/share/icons/hicolor/24x24@2/apps/mate-hud.png b/usr/share/icons/hicolor/24x24@2/apps/mate-hud.png
index aa1a6d6..79d6317 100644
Binary files a/usr/share/icons/hicolor/24x24@2/apps/mate-hud.png and b/usr/share/icons/hicolor/24x24@2/apps/mate-hud.png differ
diff --git a/usr/share/icons/hicolor/256x256/apps/mate-hud.png b/usr/share/icons/hicolor/256x256/apps/mate-hud.png
index 01891ed..62a2fc4 100644
Binary files a/usr/share/icons/hicolor/256x256/apps/mate-hud.png and b/usr/share/icons/hicolor/256x256/apps/mate-hud.png differ
diff --git a/usr/share/icons/hicolor/256x256@2/apps/mate-hud.png b/usr/share/icons/hicolor/256x256@2/apps/mate-hud.png
index 53492c8..cb8635b 100644
Binary files a/usr/share/icons/hicolor/256x256@2/apps/mate-hud.png and b/usr/share/icons/hicolor/256x256@2/apps/mate-hud.png differ
diff --git a/usr/share/icons/hicolor/32x32/apps/mate-hud.png b/usr/share/icons/hicolor/32x32/apps/mate-hud.png
index e850e58..d1403e4 100644
Binary files a/usr/share/icons/hicolor/32x32/apps/mate-hud.png and b/usr/share/icons/hicolor/32x32/apps/mate-hud.png differ
diff --git a/usr/share/icons/hicolor/32x32@2/apps/mate-hud.png b/usr/share/icons/hicolor/32x32@2/apps/mate-hud.png
index f382911..2731921 100644
Binary files a/usr/share/icons/hicolor/32x32@2/apps/mate-hud.png and b/usr/share/icons/hicolor/32x32@2/apps/mate-hud.png differ
diff --git a/usr/share/icons/hicolor/48x48/apps/mate-hud.png b/usr/share/icons/hicolor/48x48/apps/mate-hud.png
index aa1a6d6..79d6317 100644
Binary files a/usr/share/icons/hicolor/48x48/apps/mate-hud.png and b/usr/share/icons/hicolor/48x48/apps/mate-hud.png differ
diff --git a/usr/share/icons/hicolor/48x48@2/apps/mate-hud.png b/usr/share/icons/hicolor/48x48@2/apps/mate-hud.png
index e72bdcb..3b834ce 100644
Binary files a/usr/share/icons/hicolor/48x48@2/apps/mate-hud.png and b/usr/share/icons/hicolor/48x48@2/apps/mate-hud.png differ
diff --git a/usr/share/icons/hicolor/512x512/apps/mate-hud.png b/usr/share/icons/hicolor/512x512/apps/mate-hud.png
index 53492c8..cb8635b 100644
Binary files a/usr/share/icons/hicolor/512x512/apps/mate-hud.png and b/usr/share/icons/hicolor/512x512/apps/mate-hud.png differ
diff --git a/usr/share/icons/hicolor/64x64/apps/mate-hud.png b/usr/share/icons/hicolor/64x64/apps/mate-hud.png
index f382911..2731921 100644
Binary files a/usr/share/icons/hicolor/64x64/apps/mate-hud.png and b/usr/share/icons/hicolor/64x64/apps/mate-hud.png differ
diff --git a/usr/share/icons/hicolor/64x64@2/apps/mate-hud.png b/usr/share/icons/hicolor/64x64@2/apps/mate-hud.png
index 9c1c12d..1d6ee1d 100644
Binary files a/usr/share/icons/hicolor/64x64@2/apps/mate-hud.png and b/usr/share/icons/hicolor/64x64@2/apps/mate-hud.png differ
diff --git a/usr/share/icons/hicolor/scalable/apps/mate-hud.svg b/usr/share/icons/hicolor/scalable/apps/mate-hud.svg
index bd64dfb..cf388d2 100644
--- a/usr/share/icons/hicolor/scalable/apps/mate-hud.svg
+++ b/usr/share/icons/hicolor/scalable/apps/mate-hud.svg
@@ -1,74 +1 @@
-
-
+
\ No newline at end of file
diff --git a/usr/share/pixmaps/mate-hud.svg b/usr/share/pixmaps/mate-hud.svg
index bd64dfb..cf388d2 100644
--- a/usr/share/pixmaps/mate-hud.svg
+++ b/usr/share/pixmaps/mate-hud.svg
@@ -1,74 +1 @@
-
-
+
\ No newline at end of file