Skip to content

Instantly share code, notes, and snippets.

@AntonFriberg
Created May 3, 2019 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AntonFriberg/bc82ef34ee4bde3b725e3d10fa16bd95 to your computer and use it in GitHub Desktop.
Save AntonFriberg/bc82ef34ee4bde3b725e3d10fa16bd95 to your computer and use it in GitHub Desktop.
Polybar install on Debian Stretch

Polybar install on Debian Stretch

Install dependencies including libxcb-composite0-dev which is sometimes not mentioned.

$ 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 python-xcbgen xcb-proto libxcb-xrm-dev i3-wm libasound2-dev libmpdclient-dev libiw-dev libcurl4-openssl-dev libpulse-dev libxcb-composite0-dev

Clone the official Polybar repository.

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

Start the installation script and accept the build options you would like to install.

$ cd ./polybar
$ ./build.sh

Then you should have a working installation if everything went well.

$ polybar --version
polybar 3.3.0-81-gf1061e1

Features: +alsa +curl +i3 +mpd +network(wireless-tools) +pulseaudio +xkeyboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment