timely
·117 words·1 min
Timely#
Keep track of work hour in the command line
Why #
If you work remotely and need to log a certain amount of hours a week and may have a hard time keeping track, timely can help you track your start and end time of work sessions in the terminal.
Usage #
Usage of timely:
-check
Set to check
-inline
No newline after print
-no-color
No color output
-no-word
No word in output
-off
Set to off
-toggle
Set to toggle
-work
Set to work
Add to prompt #
In your bashrc or similar
PS1="$(timely -check -inline) "
Setup #
Create ~/.local/share/timely/
and ~/.local/share/timely/state
mkdir -p ~/.local/share/timely/
printf off ~/.local/share/timely/state
printf off ~/.local/share/timely/times