tazpanel rev 20
Add utils/icons.sh helper script to resize panel icons
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 05 01:32:41 2011 +0200 (2011-04-05) |
parents | 4455817f8813 |
children | 8837cdc7c1c5 |
files | styles/default/images/help.png utils/icons.sh |
line diff
1.1 Binary file styles/default/images/help.png has changed
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/utils/icons.sh Tue Apr 05 01:32:41 2011 +0200 2.3 @@ -0,0 +1,21 @@ 2.4 +#!/bin/sh 2.5 +# 2.6 +# Use imagemagick to convert icon images fo TazPanel 2.7 +# 2.8 + 2.9 +STYLE=$1 2.10 +IMAGES=../styles/$STYLE/images 2.11 +SIZE=16x16 2.12 + 2.13 +[ -z "$1" ] && exit 0 2.14 +cd $IMAGES 2.15 + 2.16 +echo "" 2.17 +for i in *.png 2.18 +do 2.19 + echo "convert $i -resize $SIZE $i" 2.20 + convert $i -resize $SIZE $i 2.21 +done 2.22 +echo "" 2.23 + 2.24 +exit 0