iamsergio / flow-pomodoro

A pomodoro app that blocks distractions while you work
https://github.com/iamsergio/flow-pomodoro
GNU General Public License v2.0
72 stars 11 forks source link

User local hosts file #15

Closed Dietr1ch closed 7 years ago

Dietr1ch commented 7 years ago

Apparently it's possible to use a local hosts file like ~/.hosts See this

It would be nice to be able to change it to avoid changing permissions on files managed by the package manager.

iamsergio commented 7 years ago

Does it work for you ? For example if you add "127.0.0.1 facebook.com", does it block it ? Doesn't for me

Dietr1ch commented 7 years ago

I thought it was due to not updating $HOSTALIASES, but now I rebooted and it doesn't work =/

It seems it only works for certain hostname resolving paths, so it's not reliable. I'll close this.