tazpanel annotate utils/icons.sh @ rev 190
Small fix to df output
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 10 20:58:58 2011 +0200 (2011-06-10) |
parents | efedaf66f864 |
children |
rev | line source |
---|---|
pankso@20 | 1 #!/bin/sh |
pankso@20 | 2 # |
paul@127 | 3 # Use imagemagick to convert icon images for TazPanel |
pankso@20 | 4 # |
pankso@20 | 5 |
pankso@20 | 6 STYLE=$1 |
pankso@20 | 7 IMAGES=../styles/$STYLE/images |
pankso@20 | 8 SIZE=16x16 |
pankso@20 | 9 |
pankso@20 | 10 [ -z "$1" ] && exit 0 |
pankso@20 | 11 cd $IMAGES |
pankso@20 | 12 |
pankso@20 | 13 echo "" |
pankso@20 | 14 for i in *.png |
pankso@20 | 15 do |
pankso@20 | 16 echo "convert $i -resize $SIZE $i" |
pankso@20 | 17 convert $i -resize $SIZE $i |
pankso@20 | 18 done |
pankso@20 | 19 echo "" |
pankso@20 | 20 |
pankso@20 | 21 exit 0 |