/focus

/etc/hosts twiddling

Primary LanguageRust

Maximum Effort!

Focus is a simple tool to twiddle your /etc/host file in order to remap distracting domains.

Installation

git clone git@github.com:stuarth/focus.git 
cd focus
cargo install --path . --force

When run, focus will look for a ~/.focus file containing a list of domains, e.g.

foo.com
bar.biz

Run it without arguments and it will toggle its behavior, or focus enable / focus disable to specify.