~patrickpichler/dotfiles

3ec0a9d1eaf30cda61c24d713e2380483a97a4a9 — Patrick Pichler a month ago 97bd05d
[polybar] Improve startup script
1 files changed, 3 insertions(+), 0 deletions(-)

M .local/bin/ppichler-polybar
M .local/bin/ppichler-polybar => .local/bin/ppichler-polybar +3 -0
@@ 1,4 1,7 @@
#!/usr/bin/env bash
killall -q polybar

while pgrep -u $UID -x polybar > /dev/null; do sleep 1; done

# Terminate already running bar instances
pkill -U $(id -u) -x polybar