Config
In ~/.config/polybar/config
Wat is your bar, by default it’s exemple, but mine is Bar.
You should add monitor.
1 | [bar/Bar] |
launch.sh
In ~/.config/polybar/launch.sh
Add this.
1 | if type "xrandr"; then |
To avoid 2 bars on the main screen comment the line you used to launch it.
1 | #polybar Bar 2>&1 | tee -a /tmp/polybar1.log & disown |