# File rc.rb, line 67
def change_tag_from_menu
  choices = Wmii.tags.map {|t| [t, "+#{t}", "-#{t}"]}.flatten

  if target = show_menu(choices)
    Wmii.selected_clients.each do |c|
      case target
        when /^\+/
          c.tag! $'

        when /^\-/
          c.untag! $'

        else
          c.tags = target
      end
    end

    target
  end
end