bspwm: different workspaces for side monitors

This commit is contained in:
Henrik Lissner 2016-11-05 16:28:22 +01:00
parent c944e609d7
commit a8f8ece438

View file

@ -33,10 +33,10 @@ bspc config active_border_color "${COLOR[13]}"
# Displays # Displays
# #
i=1 bspc monitor primary -d 1/{DESKTOP,WEB,CODE,CHAT,ART,MEDIA,MUSIC}
for monitor in $(bspc query -M); do i=2
bspc monitor $monitor -n "$i" -d $i/{DESKTOP,WEB,CODE,CHAT,ART,MEDIA,MUSIC} for monitor in $(bspc query -M | tail -n +2); do
echo $i/{DESKTOP,WEB,CODE,CHAT,ART,MEDIA,MUSIC} > /tmp/bspwm-monitor-$i bspc monitor $monitor -n "$i" -d $i/{DESKTOP,WEB,CODE,CHAT,MUSIC}
let i++ let i++
done done
NMON=$i NMON=$i