This commit is contained in:
Chris Morin 2014-08-07 17:13:32 -04:00
parent 6714db710a
commit bb7fbebf1f
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ local function worker(args)
local dactive = active - cpu.last_active local dactive = active - cpu.last_active
local dtotal = total - cpu.last_total local dtotal = total - cpu.last_total
cpu_noj = {} cpu_now = {}
cpu_now.usage = tostring(math.ceil((dactive / dtotal) * 100)) cpu_now.usage = tostring(math.ceil((dactive / dtotal) * 100))
widget = cpu.widget widget = cpu.widget