tazpanel view utils/icons.sh @ rev 566
hardware.cgi: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 24 22:20:07 2016 +0100 (2016-01-24) |
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