diff --git a/docs/source/examples.rst b/docs/source/examples.rst index f57d7ed..328f2ff 100644 --- a/docs/source/examples.rst +++ b/docs/source/examples.rst @@ -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",