X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/0f35771a5267edc09d62788c3d3b7808d83d52c1..f2fb4f6fdadc1b09877e5ef6bd75e06a668a4080:/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