Improve polybar configs

This commit is contained in:
Tobias Reisinger 2022-12-14 00:07:33 +01:00
parent c9aab14f10
commit 0bbc36d291
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
7 changed files with 14 additions and 18 deletions

View file

@ -1,7 +1,9 @@
#!/bin/bash
#!/usr/bin/env bash
# Terminate already running bar instances
killall -q polybar
pkill polybar
sleep 0.5
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done