Create Beautiful Customizable Status Bars with Polybar for Linux

28/12/2020

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 - http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -    sudo sh -c 'echo "deb http://archive.getdeb.net/ubuntu 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...
29/12/2020

How to do data recovery from hard drive

This tutorial shows how to recover data from storage devices in Linux. In this case the data will be recovered from a SanDisk...
29/12/2020

Setup VIM for Python Development

How to Set Up VIM Editor for Python Programming VIM is a customizable programmable text editor. You can do anything you...
28/12/2020
Bài Viết

Bài Viết Mới Cập Nhật

Mua proxy v4 chạy socks5 để chơi game an toàn, tốc độ cao ở đâu?
18/05/2024

Thuê mua proxy Telegram trọn gói, tốc độ cao, giá siêu hời
18/05/2024

Thuê mua proxy Viettel ở đâu uy tín, chất lượng và giá tốt? 
14/05/2024

Dịch vụ thuê mua proxy US UK uy tín, chất lượng số #1
13/05/2024

Thuê mua proxy Việt Nam: Báo giá & các thông tin MỚI NHẤT
13/05/2024