#!/bin/sh
#AccuWeather icon, using weather.ttf
#USAGE: WeatherIcon <locationcode>
#Sintot
METRIC=0 #Should be 0 or 1; 0 for F, 1 for C
LOCCOD="USA|EN-US|New York"
if [ -z $1 ] && [ -x $LOCCOD ] ; then
echo
echo "USAGE: $0 [locationcode]"
echo
exit 0;
elif [ ! -z $1 ] ; then
LOCCOD=$1
fi
curl -s "http://rss.accuweather.com/rss/liveweat ... b]metric=1[/b]&locCode=$LOCCOD">/tmp/Weather.tmp
SIMBOL=`cat /tmp/Weather.tmp|grep -A2 'description>Currently'|grep gif|sed 's/\// /g'|sed 's/_/ /g'|awk {'print $8'}`
case $SIMBOL in[/code]
And a screenshot of this after refreshing pwidgets is attached.
Look there. Might help.
Also, from your screenshot the background is not refreshing. Don't scale your background, resize it in mtpaint then use it. Icewm is not Pwidget friendly without some persistence.
![Wink :wink:](./images/smilies/icon_wink.gif)