A weed trimmer attached to a lawn mower for trimming along the edges of a lawn. A trimmer shaft extends downward from a motor. A trimmer line extends outward at the bottom of the trimmer shaft perpendicular to a lawn surface. An arm member connects the motor to a bracket secured to a lawn mower. The connections between the arm member and the motor and the arm member and the bracket can be pivotal, allowing the height of the trimmer line relative to the lawn surface to be adjusted.