docs: Update usage of batwidget with updated api for wibox margin examples.rst
This commit is contained in:
parent
6600353758
commit
01d6bccb2d
|
@ -63,7 +63,7 @@ and displays a progressbar, provides ``BAT0`` as battery ID:
|
||||||
batwidget = wibox.widget.progressbar()
|
batwidget = wibox.widget.progressbar()
|
||||||
|
|
||||||
-- Create wibox with batwidget
|
-- Create wibox with batwidget
|
||||||
batbox = wibox.layout.margin(
|
batbox = wibox.container.margin(
|
||||||
wibox.widget{ { max_value = 1, widget = batwidget,
|
wibox.widget{ { max_value = 1, widget = batwidget,
|
||||||
border_width = 0.5, border_color = "#000000",
|
border_width = 0.5, border_color = "#000000",
|
||||||
color = { type = "linear",
|
color = { type = "linear",
|
||||||
|
|
Loading…
Reference in New Issue