I'm trying to fight my bad habit of wasting time on time-consuming websites such as reddit/liveleak etc.
The only thing which seems to work is adding a line like this to my etc/hosts 127.0.1.1 www.reddit.com
It works for a few days but then when i got nothing to do i edit this file and remove this line and start wasting my life again.
Is it a way to make my etc/hosts file immune to changes that would delete something from it ? (So that i would only be able to add things to it when i stumble upon a website which i think is a potential threat for my time).
It is really important for me and i will be extremely grateful for any help.