summaryrefslogtreecommitdiffstats
path: root/.config/polybar/launch.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/polybar/launch.sh')
-rwxr-xr-x.config/polybar/launch.sh7
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
4fc-cache -fv
5
3# Terminate already running bar instances 6# Terminate already running bar instances
4killall -q polybar 7killall -q polybar
5 8
6# Wait until the processes have been shut down 9# Wait until the processes have been shut down
7while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done 10while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
8 11
9# Launch bar1 and bar2 12# Launch bar
10polybar top & 13polybar top &
11 14
12echo "Bars launched..." 15echo "Bar launched..."