I was already not very into or committed to my job, so working from home made it even harder to focus (or care), and now I just spend most of my time playing video games
Why don't you enforce your own hard break? You are done working and not available after a certain time.
It isn't that I'm being forced to work more, it's that I end up working more because I never get out of 'work mode' psychologically. It's become too easy to jump on and start doing a code review or start the next ticket. I used to work 2 days a week from home, but the routine of the office the other three days was enough that I knew at 5 PM, even at home, that the work day is done. I don't have that routine anymore.
Yeah I miss even the 10 minute drive home transition from work to home mode.
This is obviously a luxury, but I've found having a separate room helps a lot. Putting my laptop to sleep and turning off the light acts as a transition.
If you don't have a separate room, you could also plug your computer in somewhere, and go on a short walk every day.