Re: weather in conky (LUA scripts) updated 12/26/13!

you can have 2 different conkies calling 2 different copies of v9000 (v9000.lua and v9001.lua) ahd have each of the copies load a different config files without the need to edit but a couple of linesbut i think getting 2 locations from the same conky might be tricky

if timer==0 or start==1 then--######
start=nil--#######################################
local web=set_location()
if web==nil then web=settings_table[2] end
local alert_check=settings_table[13]
--################################################

local timer=(updates %tonumber(settings_table[1]))
--################################################
if timer==0 or start=="s" then--######
start=nil--#######################################
local web=settings_table[2]
local alert_check=settings_table[13]
--################################################
print ("gathering data with curl")

change to this

local timer=(updates %tonumber(settings_table[1]))
--################################################
web,change=set_location()
if web==nil then
change=0
web=settings_table[2]
end
--################################################
if timer==0 or start==1 or change==1 then--######
start=nil--#######################################

if timer==0 or start==1 then--######
start=nil--#######################################
local web=set_location()
if web==nil then web=settings_table[2] end
local alert_check=settings_table[13]
--################################################

Re: weather in conky (LUA scripts) updated 12/26/13!

Thanks for the quick reply. Being from Windows for 20 some yrs. I can pretty much find and do what I need. Linux is a different animal.Even the basic things have me pulling my hair. If I don't figure this out I'll be back in a month.

Re: weather in conky (LUA scripts) updated 12/26/13!

rusty_jones wrote:

Thanks for the quick reply. Being from Windows for 20 some yrs. I can pretty much find and do what I need. Linux is a different animal.Even the basic things have me pulling my hair. If I don't figure this out I'll be back in a month.