On Fri, Jan 30, 2009 at 3:49 AM, Thomas Dahms <[email protected]> wrote: > access named tags by their position in > the list
(shameless plug)
Here is a snippet from my wmiirc[1] (which uses my Rumai[2] library to
manipulate wmii) that achieves this:
# focus the i'th view
10.times do |i|
key "Mod1-Shift-#{i}" do
focus_view tags[i-1] || i
end
end
Cheers.
[1]: http://github.com/sunaku/wmiirc/tree/master
[2]: http://snk.tuxfamily.org/lib/rumai/
