Shop More Submit  Join Login
×




Details

Submitted on
May 9, 2013
Image Size
435 KB
Resolution
333×332
Submitted with
Sta.sh
Link
Thumb
Embed

Stats

Views
4,095
Favourites
18 (who?)
Comments
16

License

Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 License.
×
MINIMAL: WEATHER GEEKLETS by xenatt MINIMAL: WEATHER GEEKLETS by xenatt
icons base weather geeklets

Download - [link]

icons form [link]
Add a Comment:
 
:iconphotoartiste:
photoartiste Featured By Owner Dec 7, 2013
Works fine for me! Thanks a lot! 
Reply
:iconsubwoover:
Subwoover Featured By Owner Jul 27, 2013
have been looking for this for ages :) Looks really cool. Hope you can help me to get it to work
Reply
:iconxenatt:
xenatt Featured By Owner Jul 27, 2013  Hobbyist Digital Artist
extract zip file and copy to [home folder]/Documents

Aka ~/Documents/MINIMAL

go to weather.yahoo.com and get city code.
put city code in geeklets
Reply
:iconsubwoover:
Subwoover Featured By Owner Jul 27, 2013
Thx for your fast reply! I really appreciate it.

Ok i replaced all the city codes with mine, I copied the entire MINIMAL file to the documents folder but still i get no image. 


This is the code now:

wtheme=`echo White`;url=`echo "xml.weather.yahoo.com/forecast…"`;tx=`curl --silent "$url" | grep  '/us/we/52/' | tail -n1 | awk '{print $2}'`;i=`echo ${#tx}`;let y=$i-10;let z=$y-36;n=`echo ${tx:36:$z}`;ln -sf ~/Documents/MINIMAL/Weather/$wtheme/$n.png /tmp/weather_icons.png;



strx=`curl --silent "xml.weather.yahoo.com/forecast…" | grep -E '(Current Conditions:|C<BR)' | sed -e 's/Current Conditions://' -e 's/<br wytiwyg="1" \="">//' -e 's///' -e 's/<\/b>//' -e 's/<br wytiwyg="1" \="">//' -e 's/<description>//' -e 's/<\/description>//' -e 's/,//' | tail -n1 | tr '[:lower:]' '[:upper:]'`;i=`echo ${#strx}`;let y=$i-4;echo ${strx:0:$y};
Reply
:iconxenatt:
xenatt Featured By Owner Jul 27, 2013  Hobbyist Digital Artist
i set icon geeklet refresh every 900 millisec.
Click on icons geeklets and set time to 100
icon Will Show.

Thank for you report too. :)
Reply
:iconxenatt:
xenatt Featured By Owner Jul 27, 2013  Hobbyist Digital Artist
I uploaded new version in same link please download and try again.

Easy config

Edit CONFIG file

WEATHER_CODE THXX0024
WEATHER_FORMATT c
WEATHER_ICON_COLOR White



key[tab]value
Reply
:iconsubwoover:
Subwoover Featured By Owner Jul 27, 2013
Thx for all your effort. I guess i am still doing something wrong. Now none of the geeklets show anything. The weather text geeklet shows a red dot as well... I edited the config file to my location wich is NLXX0013
Reply
:iconxenatt:
xenatt Featured By Owner Jul 27, 2013  Hobbyist Digital Artist
WEATHER_CODE NLXX0013
WEATHER_FORMATT c
WEATHER_ICON_COLOR White



WEATHER_FORMATT c / f
c = celsius
f = fahrenheit

WEATHER_ICON_COLOR White / Black

Black or white or what ever you create this in folder Weather
Reply
:iconsubwoover:
Subwoover Featured By Owner Jul 27, 2013
ok and i just change all the weather codes etc accordingly?
Reply
:iconsubwoover:
Subwoover Featured By Owner Jul 27, 2013
I can't get the custum weather icon to work. Do you need the applescript from the other link?
Reply
Add a Comment: