bspwm: fix multi-monitor config
This commit is contained in:
parent
74c679930d
commit
e0dc64a7df
|
@ -33,13 +33,13 @@ bspc config active_border_color "${COLOR[13]}"
|
||||||
# Displays
|
# Displays
|
||||||
#
|
#
|
||||||
|
|
||||||
bspc monitor primary -d 1/{DESKTOP,WEB,CODE,CHAT,ART,MEDIA,MUSIC}
|
NMON=$(bspc query -M | wc -l)
|
||||||
|
bspc monitor ${monitors} -d 1/{DESKTOP,WEB,CODE,CHAT,ART,MEDIA,MUSIC}
|
||||||
i=2
|
i=2
|
||||||
for monitor in $(bspc query -M | tail -n +2); do
|
for monitor in $(bspc query -M | tail -n +2); do
|
||||||
bspc monitor $monitor -n "$i" -d $i/{DESKTOP,WEB,CODE,CHAT,MUSIC}
|
bspc monitor $monitor -n "$i" -d $i/{DESKTOP,WEB,CODE,CHAT,MUSIC}
|
||||||
let i++
|
let i++
|
||||||
done
|
done
|
||||||
NMON=$i
|
|
||||||
unset i
|
unset i
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue