On Fri, Jan 30, 2009 at 3:49 AM, Thomas Dahms
<dahms_AT_itp.physik.tu-berlin.de> 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/
Received on Fri Jan 30 2009 - 18:17:46 UTC
This archive was generated by hypermail 2.2.0 : Fri Jan 30 2009 - 18:24:06 UTC