[cpu] use margins instead of spacing in process rows
This commit is contained in:
parent
6bee8b6880
commit
224c7a6acb
|
@ -57,7 +57,7 @@ local function worker(args)
|
|||
|
||||
local is_update = true
|
||||
local process_rows = {
|
||||
spacing = 8,
|
||||
-- spacing = 8,
|
||||
layout = wibox.layout.fixed.vertical,
|
||||
}
|
||||
|
||||
|
@ -191,30 +191,35 @@ local function worker(args)
|
|||
|
||||
local row = wibox.widget {
|
||||
{
|
||||
{
|
||||
text = pid,
|
||||
forced_width = 40,
|
||||
widget = wibox.widget.textbox
|
||||
},
|
||||
{
|
||||
text = comm,
|
||||
forced_width = 40,
|
||||
widget = wibox.widget.textbox
|
||||
},
|
||||
{
|
||||
{
|
||||
text = cpu,
|
||||
text = pid,
|
||||
forced_width = 40,
|
||||
widget = wibox.widget.textbox
|
||||
},
|
||||
{
|
||||
text = mem,
|
||||
text = comm,
|
||||
forced_width = 40,
|
||||
widget = wibox.widget.textbox
|
||||
},
|
||||
{
|
||||
{
|
||||
text = cpu,
|
||||
forced_width = 40,
|
||||
widget = wibox.widget.textbox
|
||||
},
|
||||
{
|
||||
text = mem,
|
||||
forced_width = 40,
|
||||
widget = wibox.widget.textbox
|
||||
},
|
||||
layout = wibox.layout.align.horizontal
|
||||
},
|
||||
layout = wibox.layout.align.horizontal
|
||||
},
|
||||
layout = wibox.layout.align.horizontal
|
||||
top = 4,
|
||||
bottom = 4,
|
||||
widget = wibox.container.margin
|
||||
},
|
||||
widget = wibox.container.background
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue