tazpanel view utils/icons.sh @ rev 56

Add a file view CASE so we can displa any file on the system (ex at boot.cgi with rcS.conf)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 10 20:20:19 2011 +0200 (2011-04-10)
parents
children 7855bd81abb7
line source
1 #!/bin/sh
2 #
3 # Use imagemagick to convert icon images fo TazPanel
4 #
6 STYLE=$1
7 IMAGES=../styles/$STYLE/images
8 SIZE=16x16
10 [ -z "$1" ] && exit 0
11 cd $IMAGES
13 echo ""
14 for i in *.png
15 do
16 echo "convert $i -resize $SIZE $i"
17 convert $i -resize $SIZE $i
18 done
19 echo ""
21 exit 0