Updating polybar.

This commit is contained in:
Derek Taylor
2023-02-26 18:33:54 -06:00
parent ebc345afdb
commit b2f09a0a36
3 changed files with 24 additions and 21 deletions

View File

@@ -7,7 +7,7 @@ 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 mainbar-i3 &
WIRELESS=$(ls /sys/class/net/ | grep ^wl | awk 'NR==1{print $1}') MONITOR=$m polybar --reload mainbar-xmonad &
done
echo "Bars launched..."