tazpanel view utils/icons.sh @ rev 381

More reliable menu.d calls
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 06 00:45:40 2014 +0100 (2014-01-06)
parents efedaf66f864
children
line source
1 #!/bin/sh
2 #
3 # Use imagemagick to convert icon images for 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