fixed polybar duplication
This commit is contained in:
parent
c4ce7b9f8c
commit
ffe8ea6d59
@ -31,7 +31,7 @@ screenchange-reload = true
|
|||||||
;margin-bottom = 0
|
;margin-bottom = 0
|
||||||
|
|
||||||
[bar/top]
|
[bar/top]
|
||||||
monitor = ${env:MONITOR:eDP1}
|
monitor = ${env:MONITOR:}
|
||||||
height = 26
|
height = 26
|
||||||
radius = 7.0
|
radius = 7.0
|
||||||
;fixed-center = false
|
;fixed-center = false
|
||||||
|
@ -7,6 +7,10 @@ killall -q polybar
|
|||||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||||
|
|
||||||
# Launch bar1 and bar2
|
# Launch bar1 and bar2
|
||||||
polybar top &
|
#polybar top &
|
||||||
|
|
||||||
|
for m in $(polybar --list-monitors | cut -d":" -f1); do
|
||||||
|
MONITOR=$m polybar --reload top &
|
||||||
|
done
|
||||||
|
|
||||||
echo "Bars launched..."
|
echo "Bars launched..."
|
||||||
|
Loading…
Reference in New Issue
Block a user