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

16 lines
285 B
Plaintext
Raw Normal View History

2020-02-17 13:13:34 +00:00
#!/usr/bin/env fish
2019-12-10 12:40:20 +00:00
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
2020-02-24 12:57:06 +00:00
while pgrep -u (id -u) -x polybar >/dev/null
2020-02-17 13:13:34 +00:00
sleep 1
end
2019-12-10 12:40:20 +00:00
# Launch bar1 and bar2
polybar laptop-top &
polybar laptop-bottom &
echo "Bars launched..."