summaryrefslogtreecommitdiff
path: root/system/desktop/convert.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/desktop/convert.sh')
-rwxr-xr-xsystem/desktop/convert.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/system/desktop/convert.sh b/system/desktop/convert.sh
new file mode 100755
index 0000000..c7bb1bd
--- /dev/null
+++ b/system/desktop/convert.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+SRC=../../pixmaps/chrysalide-logo.svg
+
+for sz in 8 16 22 24 32 36 42 48 64 72 96 128 192 256 512;
+do
+
+ DIR="${sz}x${sz}"
+
+ rm -rf $DIR
+
+ mkdir $DIR
+
+ inkscape -z -w $sz -h $sz $SRC -e $DIR/chrysalide.png 1> /dev/null 2> /dev/null
+
+ echo "icons${sz}dir = \$(DESKTOP_DATADIR)/icons/hicolor/$DIR/apps"
+ echo "icons${sz}_DATA = $DIR/chrysalide.png"
+ echo ""
+
+done