Gates is a Johnny come lately. I already proposed the solution in a post years ago - Venetian blinds in low-earth orbit. They can be adjusted as needed to cool/warm the earth.
And no, I don’t know who’s going to dust those things.
Cue the pic of the robot maid from Spaceballs.