# File rc.rb, line 55
def focus_client_from_menu
  choices = Wmii.clients.map do |c|
    format "%d. [%s] %s", c.index, c.tags, c.name.downcase
  end

  if target = show_menu(choices)
    Wmii.focus_client target.scan(/\d+/).first
  end
end