mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
remove else clause
This commit is contained in:
parent
b1562218b4
commit
0e54fa6398
@ -6,12 +6,8 @@ killall -q polybar
|
|||||||
# Wait until the processes have been shut down
|
# Wait until the processes have been shut down
|
||||||
while pgrep -x polybar >/dev/null; do sleep 1; done
|
while pgrep -x polybar >/dev/null; do sleep 1; done
|
||||||
|
|
||||||
if type "xrandr"; then
|
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||||
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
|
||||||
MONITOR=$m polybar --reload main &
|
MONITOR=$m polybar --reload main &
|
||||||
done
|
done
|
||||||
else
|
|
||||||
polybar --reload main &
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Bars launched..."
|
echo "Bars launched..."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user