Skip to content

mathialo/timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Timer

Command line utility for taking time. Stores timestamps as a file in the user's home directory, so that no program is running in the background.

Requirements and installation

Timer is written in Python 3. To install, copy timer.py to a suitable directory, and make sure it's executable:

 $ chmod +x timer.py

now create a symlink to it from one of the bin-directories so that it's available from the command line:

 $ ln -s /link/to/timer.py /usr/local/bin/timer

Now, Timer should be installed. Try writing:

 $ timer start
 $ timer stop

for confimation.

Usage

Once installed, the following commands are available:

Command Discription
timer start Starts the timer
timer stop Stops the timer and displays the time passed
timer pause Pauses the timer
timer resume Resumes the timer after a timer pause
timer show Shows the current time passed (without stopping the timer)
timer status Shows the current state of the timer (stopped, going or paused)

About

Command line utility for taking time

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages