This is a feature of manictime that I find incredibly useful, I’d love to know if anyone is familiar with a FOSS tool that has similar functionality.