Spray the garden bed with an herbicide that contains glyphosate before you plant dianthus flowers. Read the label carefully to apply the herbicide properly. Remove the dead grass and weeds from the flowerbed location before you prepare the soil.
Dig the flowerbed soil down to 8 inches with a rototiller to break it up before planting. Remove rocks, weeds and other debris from the garden bed as you use the rototiller.
Place a 4-inch layer of compost, peat moss or shredded bark on top of the soil after you plant the dianthus flowers. The material helps hold onto moisture and prevents the grass and weeds from growing.
Remove grass from the flowerbed by hand-pulling. Use a garden fork or hoe to remove large patches of grass around the flowers.
Apply an herbicide safe for flowerbeds after you plant the dianthus flowers. Herbicides that contain prodiamine, pendimethalin, napropamide and trifluralin are among the few active ingredients in herbicides recommended to use in landscape beds. Always read the label instructions carefully before adding herbicides to the flowerbed.