X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/f2fb4f6fdadc1b09877e5ef6bd75e06a668a4080..bb7fbebf1f880683950bcd1f897951529775724f:/widgets/cpu.lua diff --git a/widgets/cpu.lua b/widgets/cpu.lua index 96e0d3b..7c1ecb0 100644 --- a/widgets/cpu.lua +++ b/widgets/cpu.lua @@ -58,7 +58,7 @@ local function worker(args) local dactive = active - cpu.last_active local dtotal = total - cpu.last_total - cpu_noj = {} + cpu_now = {} cpu_now.usage = tostring(math.ceil((dactive / dtotal) * 100)) widget = cpu.widget