Change polybar desktop

This commit is contained in:
Christian Colglazier 2022-09-02 20:26:55 -04:00
parent 4a369196c9
commit b61a1cc192

View File

@ -5,7 +5,7 @@ killall -q polybar
while pgrep -x polybar >/dev/null; do sleep 0.1; done
for monitor in $(xrandr -q | grep -e "\sconnected\s" | cut -d' ' -f1); do
if [ $monitor == 'DVI-D-0' ] || [ $monitor == 'LVDS-1' ]; then
if [ $monitor == 'DP-2' ] || [ $monitor == 'LVDS-1' ]; then
MONITOR=$monitor polybar aqua &
fi
done