A very simple program that runs as a daemon reminds you -by a notification- of what you are currently doing periodically to keep focus
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
-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}
focus -p 10 -d 2 -t "Hello world" -b "Hey"