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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d53fbf2 · Apr 13, 2018

History

76 Commits
Jun 2, 2017
Jan 23, 2018
May 30, 2017
May 31, 2017
Jan 23, 2018
Apr 11, 2018
Jan 23, 2018
Apr 12, 2018
Jan 18, 2018
Jan 18, 2018
Jan 17, 2018
Jan 23, 2018
Jan 17, 2018
Apr 13, 2018
Apr 12, 2018

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