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

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

Then add the powerline_widget to wibox:

right_layout:add(powerline_widget)

Qtile widget

Add the following to ~/.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 a custom i3bar build called i3bgbar is needed. The source is available in S0lll0s/i3bgbar github repository.

Add the following to ~/.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