Remove bottom bar from polybar launch script
This commit is contained in:
parent
a6fe74d1fa
commit
35c567f42d
@ -11,11 +11,11 @@ while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
|||||||
# List monitors to load the bars on every one of them
|
# List monitors to load the bars on every one of them
|
||||||
if type "xrandr"; then
|
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 top -c ~/.config/polybar/config-top.ini &
|
MONITOR=$m polybar -q top -c ~/.config/polybar/config-top.ini &
|
||||||
MONITOR=$m polybar bottom -c ~/.config/polybar/config-bottom.ini &
|
# MONITOR=$m polybar -q bottom -c ~/.config/polybar/config-bottom.ini &
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
# Launch bar1 and bar2
|
# Launch bar1 and bar2
|
||||||
polybar top -c ~/.config/polybar/config-top.ini &
|
polybar -q top -c ~/.config/polybar/config-top.ini &
|
||||||
polybar bottom -c ~/.config/polybar/config-bottom.ini &
|
# polybar -q bottom -c ~/.config/polybar/config-bottom.ini &
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user