diff options
| author | Cori Barker <coribarker2@gmail.com> | 2026-06-29 13:25:34 +0100 |
|---|---|---|
| committer | Cori Barker <coribarker2@gmail.com> | 2026-06-29 13:25:34 +0100 |
| commit | 46e47f6903383f04737ea3289c68636caa586af5 (patch) | |
| tree | cfc402938bbef174d3f486a80c72e7253e4b5766 /polybar-launch.sh | |
| parent | 8c63780c5e6dc9fbde7bf65ea65a09b454e5bc97 (diff) | |
Created PC configurationcori-pc
Diffstat (limited to 'polybar-launch.sh')
| -rwxr-xr-x | polybar-launch.sh | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/polybar-launch.sh b/polybar-launch.sh deleted file mode 100755 index 6ef9fa2..0000000 --- a/polybar-launch.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash - -# Wait briefly for WM to settle -sleep 0.5 - -# Kill existing bars -killall -q polybar -while pgrep -u $UID -x polybar > /dev/null; do sleep 0.1; done - -# Launch on all connected monitors -if type "xrandr" > /dev/null 2>&1; then - for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do - MONITOR=$m polybar --reload main & - done -else - polybar --reload main & -fi |
