I did, however, used to have a hen that would produce almost exclusively male chicks.I think you're just lucky.
The gender of the chick is determined before the egg is laid. It is not changed by anything you do during incubation.
The sex chromosomes in birds are backwards of what mammals have, so males have ZZ and females have ZW. This also means the mother determines the sex of each chick, since she's the one with two different chromosomes. https://en.wikipedia.org/wiki/ZW_sex-determination_system
That idea has been around for thousands of years, at least since Aristotle in 350 BC:
"Long and pointed eggs are female; those that are round, or more rounded at the narrow end, are male. "
http://classics.mit.edu/Aristotle/history_anim.6.vi.html
And some people now say the shape/gender pairing is opposite of what he said.
But as best anyone can tell by actually studying it, egg shape has nothing to do with chick gender. Certain breeds tend to lay rounder or pointier eggs, but they all produce chicks in both genders. And some individual hens lay eggs of one shape or another, but they also tend to produce chicks of both genders.