Modify hosts file to block time wasting domains for set periods of time
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
work

README

you will probably need to edit 'work':
blockfilename: plain text file, one domain per line
lockTime: how long to enforce a session - you cannot unlock before lockTime finishes
unlockTime: how long to unlock for - after unlockTime, the hosts file will lock again

to start blocking:
sudo ./work now

to stop blocking:
sudo ./work later