From 6c966811af0b173092d2513d884a7bc9efd451fb Mon Sep 17 00:00:00 2001 From: ZyX Date: Fri, 20 Feb 2015 16:07:52 +0300 Subject: [PATCH] Update documentation --- docs/source/usage/wm-widgets.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 ), ), ]