1
0
mirror of https://gitlab.com/linuxstuff/dotfiles.git synced 2026-06-21 21:10:53 +02:00
Files
dotfiles/.config/polybar/launch_polybar.sh
T
2020-05-06 21:18:09 +02:00

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..."