summaryrefslogtreecommitdiff
path: root/config/polybar/launch.sh
blob: ca8d77eae9c2df69b8c1521393f4d669dcbfefcc (plain)
1
2
3
4
5
6
7
8
9
#!/bin/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 0.1; done

polybar ws &