dotfiles/polybar/launch.sh
2021-06-07 08:41:03 +02:00

9 lines
349 B
Bash
Executable file

#!/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