> I believe sl wrote a program that lets you group windows onto
> function keys
Specifically, taruti hacked rio to map certain windows to a tag
(similar to dwm) by writing stings to /dev/wctl, then switch between
the tags by hitting a function key, which brings all the windows in
the given tag to the top.
I packaged this for 9front and included some scripts that I launch
from my riostart to setup my environment:
http://plan9.stanleylieber.com/pkg/386/hjrio-2012.04.17.tbz
Unpack over / and the source will be installed in
/sys/src/pkg/hjrio-2012.04.17 (no binaries will be installed on the
system until you run 'mk install' in the source directory).
So far as I know, I'm the only person who actually uses this code.
My rio environment is comprised of four general sections, constructed
by four (included) rc scripts. The four scripts -- header, verso,
recto and spread -- organize the screen as follows:
header
the following are always visible
winwatch
faces
weather ticker displayed via aux/statusmsg
stats
verso
tag one
several irc7 windows displaying one channel per window
recto
tag one
tw
tag three
kprint
ssh session to openbsd
telnet session to 9bbs
tag five
nedmail
spread
tag two
sam
These are in turn launched from my riostart:
% cat $home/lib/riostart
#!/bin/rc
header
spread
recto
verso -i
if(~ $sysname mt*)
recto -6
if not
recto -3
In the end, it all looks something like this:
http://plan9.stanleylieber.com/rio/img/tagone.png
http://plan9.stanleylieber.com/rio/img/tagtwo.png
http://plan9.stanleylieber.com/rio/img/tagthree.png
http://plan9.stanleylieber.com/rio/img/tagfour.png
http://plan9.stanleylieber.com/rio/img/tagfive.png
The result is that the environment snaps into being whenever
I boot my terminal. I switch between tags by hitting the
corresponding function key (f1 for tag one, f2 for tag two,
and so on). In practice, I almost never have to create or
destroy windows unless I'm doing something temporary or
unusual.
-sl