Polybar, i3: Move Polybar launch handling out of its own script

This commit is contained in:
2017-08-20 21:56:47 -05:00
parent 94a7f5160a
commit db09ba9e0a
2 changed files with 2 additions and 13 deletions

View File

@@ -1,12 +0,0 @@
#!/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 bar1 and bar2
polybar top &
polybar bottom &
echo "Polybars launched..."