mirror of
https://github.com/powerline/powerline.git
synced 2025-07-26 23:35:04 +02:00
Update documentation
This commit is contained in:
parent
b09c7b79b5
commit
6c966811af
@ -31,15 +31,19 @@ Add the following to :file:`~/.config/qtile/config.py`:
|
|||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
|
from libqtile.bar import Bar
|
||||||
|
from libqtile.config import Screen
|
||||||
|
|
||||||
from powerline.bindings.qtile.widget import Powerline
|
from powerline.bindings.qtile.widget import Powerline
|
||||||
|
|
||||||
screens = [
|
screens = [
|
||||||
Screen(
|
Screen(
|
||||||
top=bar.Bar([
|
top=Bar([
|
||||||
# ...
|
# ...
|
||||||
Powerline(timeout=2),
|
Powerline(timeout=2),
|
||||||
# ...
|
# ...
|
||||||
],
|
],
|
||||||
|
35 # width
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user