diff options
Diffstat (limited to '.config/polybar/launch.sh')
| -rw-r--r-- | .config/polybar/launch.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/polybar/launch.sh b/.config/polybar/launch.sh new file mode 100644 index 0000000..d54ff76 --- /dev/null +++ b/.config/polybar/launch.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +killall -q polybar +while pgrep -u $UID -x polybar >/dev/null; do : ; done + +for m in $(polybar --list-monitors | cut -d":" -f1); do + WIRELESS=$(ls /sys/class/net/ | grep ^wl | awk 'NR==1{print $1}') MONITOR=$m polybar --reload main & +done + |
