X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/ec7c9cd9a6ade89eefada0e04c30cd300acedd4a..3e735d3effeb1c3c94c6c7f01b99d49e31a0d712:/widgets/cpu.lua diff --git a/widgets/cpu.lua b/widgets/cpu.lua index 7c1ecb0..96e0d3b 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_now = {} + cpu_noj = {} cpu_now.usage = tostring(math.ceil((dactive / dtotal) * 100)) widget = cpu.widget