GitXplorerGitXplorer
t

tomato-timer

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
f9e116c9e019464d2f27b87546f0d39090e9cf5c

Update tomato_timer.sh

tthinlines committed 8 years ago
Unverified
845b4ca290efba683b93e4d0303f1684fdd30573

Update README.md

tthinlines committed 8 years ago
Unverified
5961c86db67091c9dc653f07e3f0cad97f55864c

Add files via upload

tthinlines committed 8 years ago
Unverified
4c9fc78f3b74d70608fc19f2ca5450f99639e380

Delete .new_timer.sh

tthinlines committed 8 years ago
Unverified
a8e72caa08d92dc46f130501a184cc1d01cdfbd4

Update README.md

tthinlines committed 8 years ago
Unverified
6ee09cd343647e129e32795f2c1b973e68848445

Update README.md

tthinlines committed 8 years ago

README

The README file for this repository.

tomato-timer

a simple pomodoro timer

usage

usage is pretty simple: ./tomato_timer.sh. I alias this to tt for convenience. whenever I want to use it, I open a shell on a different desktop and simply start the timer.

make sure to open the script and set the directory for the log file. it defaults to $HOME/tomato.log

here's what you'll get if you type ./tomato_timer.sh -h:

./tomato_timer.sh [help|log|MINUTES]
    help        prints this little help message and exits
    log         print the log info for the last day and exits
    version     prints the version information and exits
    MINUTES     sets the number of minutes to run the timer for;
                the default is 25 minutes (if omitted)

notes

this function depends on the usage of Johnathan Nightingale's beep (available, at least, in the Arch Linux repositories), which is an awesome little program to make all sorts of fancy beeping sounds. because of kernel security design, this requires sudo privileges, which means this script won't work if it's not set with NOPASSWD in the sudoers file. visit beep's github page for some options to work around this.

alternatively, you can just find the lines that match .*sudo beep.*$ and remove them or replace them with echo -e '\007'.

the log file prints statistics about completed timers into a plain text file. it tracks the total amount of time done, so you can see how much work you've done under the timers.

TODO

here are some of the things I think might be nice (maybe I'll get to them, someday):

  • integration with todo.txt (to print tasks completed during a timer to the log)
  • independence from external programs for beeping (this is there because I can't make my system beep in a shell with the traditional method)

if you feel like doing any of these and sharing, feel free! it is Github, after all. enjoy!