Skip to content

Instantly share code, notes, and snippets.

@thexavier666
Last active May 20, 2020 04:49
Show Gist options
  • Save thexavier666/3182ff8cfb3af849356b1f6c6e6c8b67 to your computer and use it in GitHub Desktop.
Save thexavier666/3182ff8cfb3af849356b1f6c6e6c8b67 to your computer and use it in GitHub Desktop.
Install polybar on Ubuntu 18.03

Installation of Polybar for i3 in Ubuntu 20.04

Install all dependancies

Note : I'm assuming you have a working i3 install

sudo apt-get install \
  cmake cmake-data libcairo2-dev libxcb1-dev libxcb-ewmh-dev \
  libxcb-icccm4-dev libxcb-image0-dev libxcb-randr0-dev \
  libxcb-util0-dev libxcb-xkb-dev pkg-config python3-xcbgen \
  xcb-proto libxcb-xrm-dev libasound2-dev libmpdclient-dev \
  libiw-dev libcurl4-openssl-dev libpulse-dev \
  libxcb-composite0-dev xcb libxcb-ewmh2 libjsoncpp-dev

Clone Polybar from Github

git clone https://github.com/jaagr/polybar.git

Build

cd polybar
./build.sh

During the build process answer Yes to all the options (except the first on on using GCC instead of CLang if available).

And in the end say Yes to run sudo make install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment