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 rc.lua, where {repository_root} is the absolute path to your Powerline installation directory:

package.path = package.path .. ';{repository_root}/powerline/bindings/awesome/?.lua'
require('powerline')

Then add the powerline_widget to your wibox:

right_layout:add(powerline_widget)

Qtile widget

Add the following to your ~/.config/qtile/config.py:

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 ~/.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.

Table Of Contents

Previous topic

Shell prompts

Next topic

Other plugins

This Page