On Sun, Jun 04, 2006 at 10:37:22AM +0200, Steffen Liebergeld wrote:
> >- - The numeric select ($MODKEY-[0-9]) and sendto
> >($MODKEY-Shift-[0-9]) shortcuts operate on views shown on the bar,
> >instead of absolute tag names. They also correspond to the
> >conventional horizontal arrangement of number keys: 1234567890 (left
> >to right).
>
> This is wonderfull. This is a way to select named views in a fast an
> convenient way. I really like it!
Yay, well done. It kind of gets you away from using the numbers like they're
just virtual desktops. My wmiirc is feeling that.
Suraj, have you seen Mauricio Fernandez' wmiirc?[1] Yours has a very nice
simplicity. His has some fun syntax.
10.times do |i|
k = (i - 1) % 10
on_key("#{MODKEY}-#{i}") { view(read('/tags').split[k] || i) }
end
_why
[1] http://eigenclass.org/hiki.rb?scripting+wmii+with+ruby
Received on Sun Jun 04 2006 - 18:14:59 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:07:41 UTC