Polybar

Polybar is Article description::a fast and easy-to-use status bar. It allows building customizable status bars for various desktop environments. Currently, bspwm and i3wm are supported off the shelf.

Configuration
The Polybar package brings a sample configuration file which is installed at. This file demonstrates different configuration options, but is not a out of the box working configuration. Users need to assemble a working configuration themselves.

A working sample would look as follows:

This declares a new bar called, and identifies which modules are being used and instructs Polybar to create a systray for hosting applets. The different modules (i3, lan, wlan, filesystem, cpu, and date), need to be defined further on in the configuration file, see below.

The optional section  makes it easier to use colors in the different modules.

Date
The following section adds date and time to the bar.

Increase the interval to reduce power consumption.

Filesystem
For monitoring the disk space utilization of various mount points:

LAN
The following section shows the network status for a wired LAN:

Update the interface line as required.

WLAN
The Wifi wireless LAN section is almost identical as the wired LAN section, but has a few more things to show.

CPU
To show processor utilization the following section can be used:

This section uses the ramp option to graphically show the utilization per core, showing low utilization as green, mid utilization as orange and high utilization as red. Note that the colors section cannot be reused here.

Integration with i3 window manager
Polybar can replace. This requires configuring Polybar for use with i3, creating a Polybar launch script, and updating the i3 configuration to use Polybar.

Configure Polybar's i3 module
In case Polybar is used with the i3 window manager the following can be used to configure the Polybar's i3 module:

Update the i3 configuration to use Polybar
Comment out the following section that starts, and add a statement to launch Polybar:

Removal
To remove Polybar issue the following:

Do not forget to remove the added files under and to restore the i3bar section in.