aboutsummaryrefslogtreecommitdiff
path: root/data/icons/generate_24x24_icons.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xdata/icons/generate_24x24_icons.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/data/icons/generate_24x24_icons.sh b/data/icons/generate_24x24_icons.sh
new file mode 100755
index 0000000..11f6f3c
--- /dev/null
+++ b/data/icons/generate_24x24_icons.sh
@@ -0,0 +1,14 @@
+# we need to generate the 24x24 icons from the 22x22 tango icons
+subdirs="categories status"
+
+for subdir in $subdirs; do
+ cd 22x22/$subdir
+ for icon in *.png; do
+ target="../../24x24/$subdir/$icon"
+ if [ ! -e $target ]; then
+ convert -bordercolor Transparent -border 1x1 $icon $target;
+ fi
+ done
+ cd -
+done
+