You are not logged in.

#1 2015-11-25 14:35:11

Froggg
Member
Registered: 2015-11-25
Posts: 12

Conky Weather Help

How do  I get the weather part of my Conky widget to update at a specific interval? I'm using 1b1_accuweather_images for the data, so I guess what I need to ask is how do I get the 1b1_accuweather_images to update every 10 minutes or so, and get my conky widget to reflect the update? The weather part of my code is below. Any help is greatly appreciated.


${alignc}${font :size 9}${color FDADFF}Current Weather
${alignc}${color orange}${font :size=9}${execpi 600 sed -n '1p' $HOME/1b1_accuweather_images/messages} 
${alignc}${color orange}${font :bold:size=9}TEMP ${alignc}${color white}${font :size=9}${execpi 600 sed -n '29p' $HOME/1b1_accuweather_images/curr_cond}°F 
#(${execpi 600 sed -n '30p' $HOME/1b1_accuweather_images/curr_cond}°F)
${alignc}${color orange}${font :bold:size=9}WIND: ${alignc}${font :size=9}${color white}${execpi 600 sed -n '31p' $HOME/1b1_accuweather_images/curr_cond} ${execpi 600 sed -n '38p' $HOME/1b1_accuweather_images/curr_cond}
${alignc}${color orange}${font :bold:size=9}HUM: ${alignc}${color white}${font :size=9}${execpi 600 sed -n '32p' $HOME/1b1_accuweather_images/curr_cond}
#${goto 200}${color ffe595}DEW POINT: $color${alignr}${execpi 600 sed -n '35p' $HOME/1b1_accuweather_images/curr_cond}°F
${alignc}${color orange}${font :bold:size=9}Baro Press: ${alignc}${color white}${font :size=9}${execpi 600 sed -n '33p' $HOME/1b1_accuweather_images/curr_cond}
${alignc}${color orange}${font :bold:size=9}CLOUD COVER: ${color white}${font :size=9}${execpi 600 sed -n '36p' $HOME/1b1_accuweather_images/curr_cond}

            ${font :size 10}${color FDADFF}Forecast
${alignc}${color orange}${font :bold:size=9}TODAY
${alignc}${color white}${font :size=9}${execpi 600 sed -n '26p' $HOME/1b1_accuweather_images/first_days}°F / ${execpi 600 sed -n '31p' $HOME/1b1_accuweather_images/first_days}°F
${alignc}Chance of Precip: ${execpi 600 sed -n '28p' $HOME/1b1_accuweather_images/first_days}
${alignc}${color orange}${font :bold:size=9}TOMORROW
${alignc}${color white}${font :size=9}${execpi 600 sed -n '8p' $HOME/1b1_accuweather_images/first_days}°F / ${execpi 600 sed -n '9p' $HOME/1b1_accuweather_images/first_days}°F
${alignc}${execpi 600 sed -n '7p' $HOME/1b1_accuweather_images/messages}
${alignc}${color orange}${font :bold:size=9}${execpi 600 sed -n '10p' $HOME/1b1_accuweather_images/first_days}
${alignc}${color white}${font :size=9}${execpi 600 sed -n '13p' $HOME/1b1_accuweather_images/first_days}°F / ${execpi 600 sed -n '14p' $HOME/1b1_accuweather_images/last_days}°F
${alignc}${execpi 600 sed -n '12p' $HOME/1b1_accuweather_images/messages}

Offline

#2 2015-11-25 16:32:48

ohnonot
...again
Registered: 2015-09-29
Posts: 5,554

Re: Conky Weather Help

froggg, there's about 5000 different weather scripts for conky.
you have to be more precise about it.
but i suspect it's Theo Bigus Dickus' script, and i'm about 90% sure that he (i think it's safe to assume he's male) has a dedicated thread on these forums.


Give to COVAX! Here or here. (explanation)

Offline

Board footer

Powered by FluxBB