blob: 9534ad815ddbb503e236367fd48dac389163a06d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
killall polybar
for m in $(xrandr --listmonitors | grep '+' | awk {'print $4'}); do
if [[ $m = "HDMI-0" ]]; then
MONITOR=$m polybar mybar2 &
else
MONITOR=$m polybar mybar &
fi
done
|