On Mon, Oct 5, 2009 at 1:30 PM, Nathan Neff <nathan.n...@gmail.com> wrote: > I'd like to have a menu that shows all the currently running clients, > and when I select a client, the current tag is applied to that client.
You can do it like this now in my Ruby wmiirc: your_chosen_shortcut: | # bring a chosen client into current view client = client_menu('invite client:') and client.tag curr_tag > The rumai wmiirc has a similar feature that will show a list of clients, > and when you choose a client, the selected client is shown. I refactored that functionality into a common client_menu() method (used in the above example) that is shared by all branches: http://github.com/sunaku/wmiirc/commit/72c464daed724ee045d2112f865d66c4e7602d36#diff-1