diff options
Diffstat (limited to '.config/polybar/launch')
-rwxr-xr-x | .config/polybar/launch | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/.config/polybar/launch b/.config/polybar/launch index 68d5cf2..cf23f0b 100755 --- a/.config/polybar/launch +++ b/.config/polybar/launch @@ -5,7 +5,11 @@ killall -q polybar # If all your bars have ipc enabled, you can also use # polybar-msg cmd quit -# Launch bar1 -echo "---" | tee -a /tmp/polybar1.log -polybar bar1 2>&1 | tee -a /tmp/polybar1.log & disown -echo "Bar launched..." +# # Launch bar1 +# echo "---" | tee -a /tmp/polybar1.log +# polybar bar1 2>&1 | tee -a /tmp/polybar1.log & disown +# echo "Bar launched..." + +for m in $(polybar --list-monitors | cut -d":" -f1); do + MONITOR=$m polybar --reload bar1 & +done |