Get started with the example configuration:
$ install -Dm644 /usr/share/examples/polybar/config $HOME/.config/polybar
$ polybar example
For more information, see https://github.com/jaagr/polybar