Fix inaccurate timer
Issue #6 totalSeconds is always 1 second too long since we include counting down to 0. This commit starts the timer decremented 1 second to fix the issue.
|10 months ago|
|src||10 months ago|
|.gitignore||1 year ago|
|README.md||1 year ago|
timer - set a timer and get a desktop notification when it’s done
timer [-hr] [-min] [-sec]
timer is a commandline program used to display a desktop notification after a specified time.
-debug dump options and command without running -hr int number of hours -min int number of minutes -sec int number of seconds
Run timer for 30 minutes
timer -min 30
Run timer for 1 hour, 30 minutes, and 2 seconds
timer -hr 1 -min 30 -sec 2