The way to build habit is to put the necessary equipment at the space-time location where/when you want the habit to occur.
^that's not the clearest sentence, let me illustrate with an example.
Habit to build: take more and better photos
Set-up: leave camera out, on manual mode, right beside the kitchen so there's no obstacle against taking food photos.
Here's the preliminary results.