> A requirement for changing habits is changing the physical world.
James Clear talks about this in Atomic Habits [0][1], explaining that to break a bad habit, you must invert the first law of good habits ("Make it Obvious") so that the bad habit is "invisible". To do this, as you say, you must change your environment: "Reduce exposure. Remove the cues of your bad habits from your environment."
[0] This Atomic Habits summary was posted on HN recently: https://www.chrisbehan.ca/posts/atomic-habits [1] https://s3.amazonaws.com/jamesclear/Atomic+Habits/Habits+Che...
A requirement for changing habits is changing the physical world. Picking a device with no internet browsing capabilities, like an e-reader or a physical book. Or going for a walk where you physically don't have your phone. Even putting a phone in the next room isn't enough, you have to be somewhere where you physically can't access the phone.
Humans are not capable of fixing attention habits in which the physical world is set up to make it feasible to lose your attention.