diff options
| author | Xander Swan <email> | 2025-12-03 10:00:41 -0500 |
|---|---|---|
| committer | Xander Swan <email> | 2025-12-03 10:00:41 -0500 |
| commit | 6d4208a39ba4a576c310a301eb576d84eec1ddaf (patch) | |
| tree | beef17e3d6e88f08b68673d3d3e394d19639cd78 /.config/i3/polybar.sh | |
| parent | d0f041df4db23a512fa2d2a7c655af0b2c7e88c5 (diff) | |
Entirely new config
Diffstat (limited to '.config/i3/polybar.sh')
| -rw-r--r-- | .config/i3/polybar.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/i3/polybar.sh b/.config/i3/polybar.sh new file mode 100644 index 0000000..22d2fbc --- /dev/null +++ b/.config/i3/polybar.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env sh + +# Terminate already running bar instances +killall -q polybar + +# Wait until the processes have been shut down +while pgrep -x polybar >/dev/null; do sleep 1; done + +# Launch polybar +polybar & |
