diff options
| author | David Moc <personal@cdatgoose.org> | 2026-05-24 11:48:07 +0200 |
|---|---|---|
| committer | David Moc <personal@cdatgoose.org> | 2026-05-24 11:48:07 +0200 |
| commit | 5fb19f10389b70ee2389755106092a9ef6c64598 (patch) | |
| tree | 969eb0466de581cb14aa09f751a95138620fc720 /polybar/launch.sh~ | |
Go
Diffstat (limited to 'polybar/launch.sh~')
| -rwxr-xr-x | polybar/launch.sh~ | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/polybar/launch.sh~ b/polybar/launch.sh~ new file mode 100755 index 0000000..7490090 --- /dev/null +++ b/polybar/launch.sh~ @@ -0,0 +1,11 @@ +#!/usr/bin/env bash +# Kill any running instances +killall -q polybar +while pgrep -u $UID -x polybar > /dev/null; do sleep 0.1; done + +# If you have multiple monitors, launch one bar per output: +# for m in $(polybar --list-monitors | cut -d":" -f1); do +# MONITOR=$m polybar main & +# done + +polybar main 2>&1 | tee -a /tmp/polybar.log & disown |
