Skip to content

Focus notifies you of a word or task periodically to keep focus

License

Notifications You must be signed in to change notification settings

nagyation/Focus

Repository files navigation

Focus

A very simple program that runs as a daemon reminds you -by a notification- of what you are currently doing periodically to keep focus

Build:

Make sure you already have gtk+3 and libnotify and libappindicator-3
you can install it by:

Arch:
sudo pacman -S libnotify libappindicator-gtk3 gtk3 gsound

Fedora:
yum install libnotify-devel libappindicator-gtk3-devel gtk3-devel gsound-devel

Ubuntu:
sudo apt-get install libnotify-dev libgtk-3-dev libappindicator3-dev libgsound-dev

Focus build
$ git clone https://github.com/nagyation/Focus

$ cd Focus

$ make

$ sudo make install

Use:

-p {period in mins} : time between each notification
-d {duration in hours} : the total run duration of the program afterwhich it will exit
-t {title} : the title of the notification to recieve
-b {body} : the text body of the notification
-h {help} : show arguments

focus -h For help
focus -p {period} -d {duration of the run} -t {title} -b {text to be notified with}

Example:

focus -p 10 -d 2 -t "Hello world" -b "Hey"

Icon used is made by Nick Roach and it's under GPL license, get it from https://www.iconfinder.com/iconsets/circle-icons-1

About

Focus notifies you of a word or task periodically to keep focus

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published