Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.
/ Focus Public archive

Keep distractive apps at bay allowing you to focus!

Notifications You must be signed in to change notification settings

helium18/Focus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecated

This repo is unfortunately no longer being maintained. Writing shell scripts in rust is not a good idea

Focus

Keep distractive apps at bay allowing you to focus!


What it does.

The apps specified are killed automatically after a period of 5 seconds till the clock runs out. Once its done, focus closes on its own.

Focus

Why?

For some, it may just prevent them from opening distractive apps. For others, its just an added layer of trouble (so that lazy people like me lose interest from opening the app all together)

Is it heavy?

No, it eats barely a few kbs of memory.

Install

Download the deb package from here

Build

  • Dependencies: Rust and pkill
git clone https://github.com/amd176/Focus.git
cd ~/Focus/src
cargo build --release
cd ..
cd target/release
./focus

focus can be run from the ~/Focus/target/release/ directory or you can just paste the rust binary in one of the $PATH folders so that it can opened quickly.

Uninstall :(

Built: Just remove the ~/Focus directory, and the rust binary which you've pasted in one of the $PATH folders. If you're facing a problem, consider raising an issue. deb: Uninstall it via the original deb file.

Support

Star the repo 😳.

About

Keep distractive apps at bay allowing you to focus!

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages