Boredom arises due to monotony. Doing the same activity from dawn to dusk leads to Boredom. Avoiding activities of monotonous nature is the secret behind avoiding Boredom. I personally change my activity often. For a few hours I write. And then switch over to painting, which is a livelihood too. Then I chat with my neighbors. At times I try a new activity like playing a Musical instrument.
With all this the question of Boredom will never arise as far as I'm concerned.