A man was critically injured on Thursday afternoon after he was hit by gunfire that broke through the window of his home on the city's West Side.