On Mon, Jun 15, 2009 at 3:54 PM, <j...@csplan9.rit.edu> wrote:
> I spent a couple hours this afternoon reading rio source and hacking
> it to do virtual desktops.  /n/sources/contrib/john/rio-virtual.tgz
> contains the files from /sys/src/cmd/rio with my changes made.  At
> this time, there is no support for specifying the number of virtuals,
> because I'm lazy--you get six and you will ENJOY IT.
>

A followup for anyone using rio-virtual: I did a bit of hacking today
and have some updates.
* Virtual desktop switching should be a bit faster thanks to a
slightly smarter algorithm governing who gets drawn and who doesn't.
Oh, and hiding a window, switching desktops, then switching back now
leaves the window hidden, instead of drawing it again like in the old
version.
* The "-b 0xrrggbbFF" switch allows you to set the background color;
the default is 0x777777FF, but I also like 0xBBBBBBFF, and some shades
of dark red or blue can also be nice.
* To get a little silly, the "-n" switch makes window borders look as
close to the old 8 1/2 windows as I could easily come. The current
window has 4 pixel black borders, while the other windows have one
pixel black borders.

The new source is still in /n/sources/contrib/john/rio-virtual.tgz.
I've also put it on Bitbucket, so you can fetch it via Mercurial:
http://bitbucket.org/floren/rio-virtual/


John
-- 
"Object-oriented design is the roman numerals of computing" -- Rob Pike

Reply via email to