A man who smashed a shovel into a Sydney bus windscreen and swore at the driver in a road rage attack has been sentenced to 12 months behind bars.

John Klironomos, who works as a lawn mower, was filmed by a witness on Marrickville Road in Marrickville in February as he stopped his car in front of the bus and abused the driver.

“What the f--- you m-----, I’m going to get you,” he can be heard yelling in the video.

The 45-year-old then opens his car boot and retrieves a shovel, which he then uses to smash into the bus windscreen.

Klironomos had become furious after the bus driver stopped the vehicle to let another car enter traffic.

Today, a Sydney magistrate said Klironomos had committed an “unprovoked act of rage against a stranger” and said the community would expect jail time for such an offence.

He has also been ordered to pay $1900 to cover the repair cost of the bus windscreen.