Setting up POLYBAR on Linux (+ Arch and i3 info)
Akami Channel
ATTENTION! Since uploading this video, I had problems with Polybar launching on startup. Now I just have "exec polybar example" at the end of my i3 config. I'll be looking more into it and possibly updating this video. Also, check below where I say "Unlike what I said in the video..."
How to set up Polybar on Linux for a nice-looking status bar.
I'm using i3 on Arch, but most of the video is applicable to any distro and DE/WM.
WANT TO SUPPORT THE CHANNEL?
š° Patreon: https://www.patreon.com/stevet š° SubscribeStar: https://www.subscribestar.com/akami-channel š³ Paypal: https://www.paypal.me/stevetpaypal
Thanks for watching!
Start by installing the polybar package from the AUR
Unlike what I said in the video, you do need to copy the config. So, do as follows: mkdir -p ~/.config/polybar cp /usr/share/doc/polybar/config ~/.config/polybar
And then you can continue by trying "polybar example" in a terminal
The link for the launch script I used that has support for multiple displays is here: https://github.com/polybar/polybar/issues/763
Here is the launch script itself: if type "xrandr"; then for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do MONITOR=$m polybar --reload example & done else polybar --reload example & fi
And then in my polybar config, I have:
[bar/example] monitor = ${env:MONITOR:} [...]
My social media. If you want to help me, follow me on Reddit and upvote my posts ; )
GitHub: https://github.com/akami-channel
Patreon: https://www.patreon.com/stevet
SubscribeStar: https://www.subscribestar.com/akami-channel
Paypal: https://www.paypal.me/stevetpaypal
Reddit: https://reddit.com/user/Akami_Channel
Twitter: https://twitter.com/AkamiChannel
Facebook: https://www.facebook.com/Akami-Channel-103332337880937 ... https://www.youtube.com/watch?v=HZTZtGcYrl4
38247829 Bytes