Okay, I'm still not having any luck removing the unneeded "0" from the time. I've seen examples in this thread where the "0" is omitted. I'm using:
date +%I:%M
Any idea's? Here's what I'm talking about:
Try
date +%l:%M
Where that letter is lowercase L. Seems to get it for me.
What font are you using for the time?
Who is that on your background?
50.4*F inthe
lynx -dump http://printer.wunderground.com/cgi-bin/findweather/getForecast?query=YOURZIPCODE|head -n 7|tail -n 1|awk '{print $2 $3}'
lynx -dump http://printer.wunderground.com/cgi-bin/findweather/getForecast?query=YOURZIPCODE|head -n 12|tail -n 1|cut -c43-100
Prefer the second - it works with all wallpapers.
It you be good if you could move it around as a group instead of individually.
With the weather script for temperature, mine was resulting in something like:
Code:50.4*F inthe
So I came up with a better script.
Code:lynx -dump http://printer.wunderground.com/cgi-bin/findweather/getForecast?query=YOURZIPCODE|head -n 7|tail -n 1|awk '{print $2 $3}'
The same goes for the conditions script.
Code:lynx -dump http://printer.wunderground.com/cgi-bin/findweather/getForecast?query=YOURZIPCODE|head -n 12|tail -n 1|cut -c43-100
If you find your conditions resulting in something with letters cut off, change the 100 to a value higher.
Okay, I'm still not having any luck removing the unneeded "0" from the time. I've seen examples in this thread where the "0" is omitted. I'm using:
date +%I:%M
Any idea's? Here's what I'm talking about:
With the weather script for temperature, mine was resulting in something like:
Code:50.4*F inthe
So I came up with a better script.
Code:lynx -dump http://printer.wunderground.com/cgi-bin/findweather/getForecast?query=YOURZIPCODE|head -n 7|tail -n 1|awk '{print $2 $3}'
The same goes for the conditions script.
Code:lynx -dump http://printer.wunderground.com/cgi-bin/findweather/getForecast?query=YOURZIPCODE|head -n 12|tail -n 1|cut -c43-100
If you find your conditions resulting in something with letters cut off, change the 100 to a value higher.
Gill Sans BoldWhich font are you using there? It looks really nice.
Here's mine for Bournemouth:
View attachment 154241
You need the Lynx Text Browser installed
Temp.
Code:lynx -dump http://printer.wunderground.com/cgi-bin/findweather/getForecast?query=bournemouth|awk '/Temp/{printf $2, ": "; for (i=3; i<=3; i++) printf $i " " }'
Cond.
Code:lynx -dump http://printer.wunderground.com/cgi-bin/findweather/getForecast?query=bournemouth|awk '/Cond/ && !/Fore/ {for (i=2; i<=10; i++) printf $i " " }'
I used these, and they work great (I changed the url to my city). The problem I'm having is that both the temp, and the conditions are ontop of each other.
Then move them...