From 01d6bccb2dcbb347a9d64ca3a25712845695fcb6 Mon Sep 17 00:00:00 2001 From: lumpsoid <79290581+lumpsoid@users.noreply.github.com> Date: Wed, 14 Aug 2024 23:49:04 +0200 Subject: [PATCH] docs: Update usage of batwidget with updated api for wibox margin examples.rst --- docs/source/examples.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",