diff --git a/docs/source/usage/wm-widgets.rst b/docs/source/usage/wm-widgets.rst index bcbf206f..288c21f2 100644 --- a/docs/source/usage/wm-widgets.rst +++ b/docs/source/usage/wm-widgets.rst @@ -31,15 +31,19 @@ Add the following to :file:`~/.config/qtile/config.py`: .. code-block:: python + from libqtile.bar import Bar + from libqtile.config import Screen + from powerline.bindings.qtile.widget import Powerline screens = [ Screen( - top=bar.Bar([ + top=Bar([ # ... Powerline(timeout=2), # ... ], + 35 # width ), ), ]