********************** Window manager widgets ********************** Awesome widget ============== .. note:: Powerline currently only supports awesome 3.5. .. note:: The Powerline widget will spawn a shell script that runs in the background and updates the statusline with ``awesome-client``. Add the following to your :file:`rc.lua`, where ``{repository_root}`` is the absolute path to your Powerline installation directory: .. code-block:: lua package.path = package.path .. ';{repository_root}/powerline/bindings/awesome/?.lua' require('powerline') Then add the ``powerline_widget`` to your ``wibox``: .. code-block:: lua right_layout:add(powerline_widget) Qtile widget ============ Add the following to your :file:`~/.config/qtile/config.py`: .. code-block:: python from powerline.bindings.qtile.widget import Powerline screens = [ Screen( top=bar.Bar([ # ... Powerline(timeout=2), # ... ], ), ), ] I3 bar ====== .. note:: Until the patch is done in i3, you will need a custom ``i3bar`` build called ``i3bgbar``. The source is available `here `_. Add the following to your :file:`~/.i3/config`:: bar { i3bar_command i3bgbar status_command python /path/to/powerline/bindings/i3/powerline-i3.py font pango:PowerlineFont 12 } where ``i3bgbar`` may be replaced with the path to the custom i3bar binary and ``PowerlineFont`` is any system font with powerline support.