1 2 3 4 5 6 7
#!/bin/bash killall -q polybar for m in $(polybar --list-monitors | cut -d":" -f1); do MONITOR=$m polybar --reload bar1 & done