Many people do not realise that setting up the right environment is really important for being productive.
So, good that you took a step to separate your personal and work life and approached it with the mindset to create the right cues in your working environment.
These cues can guide us when it's time to go deep into coding to time to separate ourselves from work and do something else.