diff options
Diffstat (limited to '.config/polybar/launch.sh')
-rwxr-xr-x | .config/polybar/launch.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.config/polybar/launch.sh b/.config/polybar/launch.sh index e6c42ff..a99d452 100755 --- a/.config/polybar/launch.sh +++ b/.config/polybar/launch.sh | |||
@@ -1,12 +1,15 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | # Try your luck one last time | ||
4 | fc-cache -fv | ||
5 | |||
3 | # Terminate already running bar instances | 6 | # Terminate already running bar instances |
4 | killall -q polybar | 7 | killall -q polybar |
5 | 8 | ||
6 | # Wait until the processes have been shut down | 9 | # Wait until the processes have been shut down |
7 | while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done | 10 | while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done |
8 | 11 | ||
9 | # Launch bar1 and bar2 | 12 | # Launch bar |
10 | polybar top & | 13 | polybar top & |
11 | 14 | ||
12 | echo "Bars launched..." | 15 | echo "Bar launched..." |