Last edited by mrpeachy; February 24th, 2011 at 07:54 PM.
I don't use the weather script myself, but doesn't the -i I marked in your script stand for "imperial"? See line 8 from the bottom. (I don't know if that is the pice that gets the wind speed though.)that seems to be the bit of code, but nothing I change it to seems to convert it from miles to kilometers, does anyone know the right code for metric?Code:################## ## WEATHER ## ################## ${voffset 6}${font DroidSans:bold:size=8}${color4}WEATHER${offset 8}${color8}${voffset -2}${hr 2}${font} ${voffset 0}${goto 59}${font Weather:size=38}${color2}y${font}${voffset -33}${offset 14}${font RadioSpace:size=32}${color3}${execi 1800 conkyForecast -d HT -u}C${font} ${voffset 0}${font Ubuntu:size=24}${color4}${alignc}${execi 1800 conkyForecast -d CT}${font} ${voffset 10}${goto 20}${font ConkyWindNESW:size=41}${color3}${execi 1800 conkyForecast -d BS}${font}${voffset -40}${goto 98}${font ConkyWeather:size=45}${execi 1800 conkyForecast -d WF}${font}${voffset -39}${goto 188}${font MoonPhases:size=32}${execi 1800 conkyForecast -d MF}${font} ${voffset 6}${goto 28}${font DroidSansFallback:bold:size=8.45}${color4}${execpi 1800 conkyForecast -d WS -i| sed -e 's/calm'/'\$\{offset 2}Calm/g' -e 's/mph'/'\$\{offset 2}mph/g'}${goto 88}Feels like ${execi 1800 conkyForecast -d LT -u}${execpi 1800 conkyForecast -d MP| sed -e 's/First.*'/'\$\{goto 182}First Qtr/g' -e 's/Last.*'/'\$\{goto 184}Last Qtr/g' -e 's/New.*'/'\$\{goto 195}New/g' -e 's/Full.*'/'\$\{goto 195}Full/g' -e 's/Waning.*'/'\$\{goto 187}Waning/g' -e 's/Waxing.*'/'\$\{goto 187}Waxing/g'}${font} ${voffset 9}${goto 36}${font DroidSansMono:bold:size=8.35}${color3}${execi 1800 conkyForecast -d DW -s 1 -w}${goto 89}${execi 1800 conkyForecast -d DW -s 2 -w}${goto 143}${execi 1800 conkyForecast -d DW -s 3 -w}${goto 197}${execi 1800 conkyForecast -d DW -s 4 -w}${font} ${voffset 2}${goto 25}${font ConkyWeather:size=32}${color2}${execi 1800 conkyForecast -d WF -s 1 -e 4 -S 1}${font} ${voffset 0}${goto 25}${font DroidSans:bold:size=8.5}${color4}${execi 1800 conkyForecast -d HT -s 1 -u}${offset 2}/${offset 2}${execi 1800 conkyForecast -d LT -s 1 -u}${goto 79}${execi 1800 conkyForecast -d HT -s 2 -u}${offset 2}/${offset 2}${execi 1800 conkyForecast -d LT -s 2 -u}${goto 133}${execi 1800 conkyForecast -d HT -s 3 -u}${offset 2}/${offset 2}${execi 1800 conkyForecast -d LT -s 3 -u}${goto 187}${execi 1800 conkyForecast -d HT -s 4 -u}${offset 2}/${offset 2}${execi 1800 conkyForecast -d LT -s 4 -u}${font} ${font Ubuntu:size=10}${color4}Today's Sunrise: ${color1}${execi 600 conkyForecast --location=ASXX0016 --datatype=SR --}${alignr}${color4} Today's Sunset: ${color1}${execi 600 conkyForecast --location=ASXX0016 --datatype=SS --} ${font Ubuntu:size=10}${color4}Tomorrow's Sunrise: ${color #E6E8FA}${execi 600 conkyForecast --location=ASXX0016 --startday=1 --datatype=SR --}${alignr}${color4} Tomorrow's Sunset: ${color1}${execi 600 conkyForecast --location=ASXX0016 --startday=1 --datatype=SS --} ${color4}${font Ubuntu:size=10}Station: ${color1}${execi 600 conkyForecast --location=ASXX0016 --datatype=OB}${alignr}${color4}${font Ubuntu:size=10}Last Update: ${color1}${execi 600 conkyForecast --location=ASXX0016 --datatype=LU}${font}
I marked the little i for imperial in red
Last edited by Arminius; February 24th, 2011 at 07:38 PM. Reason: left out which bit of code
Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU
Bookmarks