mirror of
https://gitlab.com/linuxstuff/dotfiles.git
synced 2026-06-21 21:10:53 +02:00
15 lines
260 B
Bash
15 lines
260 B
Bash
#!/usr/bin/env sh
|
|
|
|
# Terminate already running bar instances
|
|
killall -q polybar
|
|
|
|
# Wait until the processes have been shut down
|
|
while pgrep -x polybar >/dev/null; do sleep 1; done
|
|
|
|
# Launch
|
|
polybar main -r &
|
|
polybar second -r &
|
|
|
|
#insync
|
|
echo "Bar launched..."
|