tazpanel diff utils/icons.sh @ rev 33

Show README in doc for now and small fix to style path
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 05 06:06:09 2011 +0200 (2011-04-05)
parents
children 7855bd81abb7
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/utils/icons.sh	Tue Apr 05 06:06:09 2011 +0200
     1.3 @@ -0,0 +1,21 @@
     1.4 +#!/bin/sh
     1.5 +#
     1.6 +# Use imagemagick to convert icon images fo TazPanel
     1.7 +#
     1.8 +
     1.9 +STYLE=$1
    1.10 +IMAGES=../styles/$STYLE/images
    1.11 +SIZE=16x16
    1.12 +
    1.13 +[ -z "$1" ] && exit 0
    1.14 +cd $IMAGES
    1.15 +
    1.16 +echo ""
    1.17 +for i in *.png
    1.18 +do
    1.19 +	echo "convert $i -resize $SIZE $i"
    1.20 +	convert $i -resize $SIZE $i
    1.21 +done
    1.22 +echo ""
    1.23 +
    1.24 +exit 0