X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/44facf162420816bdcfc851d4ff5e033996fa948..d2b3a0804d6f12d1b5a37c444936c37a7a70c0ae:/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