We decided against grid layout because column layout is a
superset of grid with some differences.
To get a 4x3 configuration with column layout you can do
following:
---[4x3term]--
#!/usr/local/9/bin/rc
PATH=/usr/local/9/bin:$PATH
wmiir write /wm/ctl new
wmiir write /wm/sel/ctl 'exec xterm -rv'
for (i in 1 2 3) {
for (j in 1 2 3)
wmiir write /wm/sel/ctl 'exec xterm -rv'
sleep 1
if(! ~ $j 3)
wmiir write /wm/sel/layout/sel/ctl new
}
wmiir write /wm/sel/ctl 'exec xterm -rv'
wmiir write /wm/sel/ctl 'exec xterm -rv'
EOF
The command "wmiir write /wm/sel/layout/sel/ctl new"
creates a new column (like $MODKEY-n does). The command
"wmiir write /wm/sel/ctl 'exec xterm -rv'" tries to attach the
next window which occures to the specific page. Instead of
/wm/sel you can also choose a page you like.
We can fine-tune column layout later to run specific clients in
specific columns.
On the other hand, you can easily implement YOUR favorite layout
on your own. Look into wmii/cmd/wm/layout_float.c as a starting
point, but keep in mind that things might change due to the 9P
integration I'm currently working on.
Regards,
--
Anselm R. Garbe ><>< www.ebrag.de ><>< GPG key: 0D73F361
_______________________________________________
[email protected] mailing list
http://wmii.de/cgi-bin/mailman/listinfo/wmii