[cpu] use margins instead of spacing in process rows

This commit is contained in:
streetturtle 2020-04-03 16:25:01 -04:00
parent 6bee8b6880
commit 224c7a6acb
1 changed files with 19 additions and 14 deletions

View File

@ -57,7 +57,7 @@ local function worker(args)
local is_update = true local is_update = true
local process_rows = { local process_rows = {
spacing = 8, -- spacing = 8,
layout = wibox.layout.fixed.vertical, layout = wibox.layout.fixed.vertical,
} }
@ -190,6 +190,7 @@ local function worker(args)
local cmd = columns[5] local cmd = columns[5]
local row = wibox.widget { local row = wibox.widget {
{
{ {
{ {
text = pid, text = pid,
@ -216,6 +217,10 @@ local function worker(args)
}, },
layout = wibox.layout.align.horizontal layout = wibox.layout.align.horizontal
}, },
top = 4,
bottom = 4,
widget = wibox.container.margin
},
widget = wibox.container.background widget = wibox.container.background
} }