1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00
dotfiles/polybar/.local/bin/polybar-laptop

14 lines
284 B
Plaintext
Raw Normal View History

2019-12-10 12:40:20 +00:00
#!/usr/bin/env bash
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch bar1 and bar2
polybar laptop-top &
polybar laptop-bottom &
echo "Bars launched..."