source: lmd/trunk/fuentes/svgs/make_lmd-gui_css_icons.sh @ 2896

Last change on this file since 2896 was 1141, checked in by mabarracus, 5 years ago

Updated artwork

File size: 611 bytes
Line 
1COLORS="client #6ba4ff musica #ab6eff infantil #fff580 pime #c3c3c3 desktop #74ff97 lite #ffbbf1"
2WIDTH=235
3HEIGHT=110
4
5RELEASE=16
6COPY_PATH="../lmd-manager-gui.install/usr/share/lmd-gui/css/icons/"
7INK=$(type -fp inkscape)
8SVG="lliurex-ltsp.svg"
9DIR=$( cd $( dirname ${BASH_SOURCE[0]} ) && pwd)
10
11do_png(){
12
13while ((${#})); do
14
15    ${INK} ${DIR}/${SVG} -e ${DIR}/llx-${1}${RELEASE}.png -w $WIDTH -h $HEIGHT -b ${2}
16    shift 2
17   
18done;
19
20}
21
22move_png(){
23
24while ((${#})); do
25
26    mv ${DIR}/llx-${1}${RELEASE}.png ${DIR}/${COPY_PATH}/
27    shift 2
28done;
29
30}
31
32[ -z ${INK} ] && exit 1
33
34do_png $COLORS
35move_png $COLORS
Note: See TracBrowser for help on using the repository browser.