#!/bin/bash # Terminate already running bar instances killall -q polybar # Launch bar for m in $(polybar --list-monitors | cut -d":" -f1); do MONITOR=$m polybar --reload --config=/home/mg/dotfiles/polybar/config bar& # damit wird polybar für jeden monitor gestartet # https://github.com/polybar/polybar/issues/763 done