Hello,
i just found out how cool Geeltool is and have not been able to stay away from it...
I do have a rather pressing issue...
Is there a quick fix, of any fix for that matter, to get my font to print in CAPS?
I have a simple desktop and would like to have my date spelled out in caps. this is what i have over 2 geeklets.
date '+%A'
date '+%B %e'
also i would like to do the same with my weather... split the conditions and actual temperature to different lines, and have it all in caps...
curl --silent "http://weather.yahooapis.com/forecastrss?p=USCA0638&u=f" | grep -E '(Current Conditions:|F<BR)' | sed -e 's/Current Conditions://' -e 's/<br \/>//' -e 's/<b>//' -e 's/<\/b>//' -e 's/<BR \/>//' -e 's/<description>//' -e 's/<\/description>//'
it would be great if someone could help me out with this...
thanks a million.
For the date stuff:
Code:
date +%A | tr "[:lower:]" "[:upper:]"
date '+%B %e' | tr "[:lower:]" "[:upper:]"
Try this script for the weather:
http://xtacocorex-geektool-scripts.googlecode.com/files/yahooweathergrabv2.py
Here are the script options:
Code:
Options:
-h, --help show this help message and exit
-t, --temp show the temperature + unit
-d, --deg show the temperature in degrees only
-c, --cond show the weather condition
-o, --code show the weather code (used to map the weather to the weather image file)
-b, --both show both the condition and temperature + unit
-m, --metric
This will work, but you'll need to go back to this post to see how to install the script. There is a bunch of extra stuff in that post that isn't needed. The script linked above will automatically get your location based upon your ip address.
As I stated above, I'll be doing a major overhaul of my weather scripts.