mirror of
https://github.com/streetturtle/awesome-wm-widgets.git
synced 2024-11-17 07:49:09 +01:00
Fix missing cmd name in cpu widget
This commit is contained in:
parent
2987185755
commit
8839e853df
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ local function worker(args)
|
|||
cpu_rows[i] = row
|
||||
i = i + 1
|
||||
else
|
||||
local pid, cmd, cpu, mem, cmd = line:match('(%d+)%s+(%w+)%s+([%d.]+)%s+([%d.]+)')
|
||||
local pid, cmd, cpu, mem = line:match('(%d+)%s+(%w+)%s+([%d.]+)%s+([%d.]+)')
|
||||
|
||||
if pid == nil then
|
||||
pid = 'PID'
|
||||
|
|
Loading…
Reference in a new issue