roman
@hi@romanzolotarev.com
161 following, 462 followers
i wrote a little time log parser in posix shell. it collects from all the files in my todo directory, selects all the lines formated like this...
# start-time stop-time project: task description...and outputs logged time grouped by projects
- 20260301-085700 20260301-095640 code: add log.sh
code 05:10:44#shell #journal
home 00:22:00
kids 00:42:40
meta 00:40:22
@hi This might not be exactly the same as what you are doing. But I've been using a go script I wrote for the past 5 years to keep track of how long I do things on my computer.
https://github.com/alanxoc3/ttrack
I have it integrated as a hook with my editor (kakoune) as well as tmux, and various other programs.
Just recorded a short vid to show it off.
in my current situation it just doesn't make sense. i'm switching from task to task too often. i guess that's normal when a three-year old is running around :)
@hi splitting work day in 2H parts is already too demanding to me. I couldn’t imagine such things at home 🤣