summaryrefslogtreecommitdiff
path: root/system/desktop/convert.sh
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2021-01-11 07:45:29 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2021-01-11 07:45:29 (GMT)
commit7c17177918f1bb94be7c84ca9b839155623ff05f (patch)
tree52787ae8d96bd063bb6046c79adda03980df6f42 /system/desktop/convert.sh
parent1a434fb2a1ebe2634d3ba6a29c7add66c17e3e0b (diff)
Created a SVG logo and a configuration to register desktop entries.
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