dotfiles/polybar/launch.sh

10 lines
349 B
Bash
Raw Normal View History

2021-06-04 19:59:17 +02:00
#!/bin/bash
# Terminate already running bar instances
killall -q polybar
# Launch bar
2021-06-06 18:07:36 +02:00
for m in $(polybar --list-monitors | cut -d":" -f1); do
2021-06-07 08:41:03 +02:00
MONITOR=$m polybar --reload --config=/home/mg/dotfiles/polybar/config bar &
2021-06-06 18:07:36 +02:00
# damit wird polybar für jeden monitor gestartet
# https://github.com/polybar/polybar/issues/763
done