Create Beautiful Customizable Status Bars with Polybar for Linux


If the default Ubuntu status bar isn’t appealing to you, and you are looking for an app that could give you freedom to customize it to your taste, then checkout Polybar, a fast and easy-to-use tool for creating status bars on Linux machines.

The aim is to help users build beautiful and highly customizable status bars for their desktop environment, without the need of being an expert in shell scripting language. I have provided below some screenshot samples so you have a feel of how the end result looks like.

image source

The main purpose of this tool is to help linux users create awesome status bars. It has built-in functionality to display information about the most commoly used services. Some of the features included so far are listed below:

  • Systray icons
  • Window title
  • Playback controls and status display for MPD using libmpdclient
  • ALSA volume controls
  • Workspace and desktop panel for bspwm and i3
  • Workspace module for EWMH compliant window managers
  • Keyboard layout and indicator status
  • CPU and memory load indicator
  • Battery display
  • Network connection details
  • Backlight level
  • Date and time label
  • Time-based shell script execution
  • Command output tailing
  • User-defined menu tree
  • Inter-process messaging
  • And more…

How to install Polybar on Ubuntu 16.10, Ubuntu 16.04

Note: to install on ubuntu 16.04, just replace the section in the command below “yakkety-getdeb” with “xenial-getdeb”

wget -q -O - | sudo apt-key add -    sudo sh -c 'echo "deb yakkety-getdeb apps" >> /etc/apt/sources.list.d/getdeb.list'    sudo apt-get update    sudo apt-get install polybar

Activate the app using the example config file

After completing the installation, we will text run the application using the sample configuration file

  • Run the following commands to activate the sample config file
sudo mkdir -p ~/.config/polybar    sudo cp /usr/share/doc/polybar/config ~/.config/polybar/
  • To activate it, simply run the command
polybar example

NOTE: If the bar output looks odd, it’s probably because you’re missing the fonts defined in the config. Update the config or install the missing fonts.

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

How to Install Manjaro Linux

In the world of Linux distros, there are numerous ones that you can give your machine a unique touch. With a intuitive...

VIM Find and Replace

Vi/Vim is one of the legendary text editors out there that still finds its place at the arsenal of advanced and professional...

11 Best Backup Tools for Linux

Backup is one of the most important things to do in your digital life. This is EXTREMELY important for those who have to...