Improve polybar configs
This commit is contained in:
parent
c9aab14f10
commit
0bbc36d291
7 changed files with 14 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue