docs: Update usage of batwidget with updated api for wibox margin examples.rst

This commit is contained in:
lumpsoid 2024-08-14 23:49:04 +02:00 committed by McSinyx
parent 6600353758
commit 01d6bccb2d
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ and displays a progressbar, provides ``BAT0`` as battery ID:
batwidget = wibox.widget.progressbar()
-- Create wibox with batwidget
batbox = wibox.layout.margin(
batbox = wibox.container.margin(
wibox.widget{ { max_value = 1, widget = batwidget,
border_width = 0.5, border_color = "#000000",
color = { type = "linear",