Hacker News new | ask | show | jobs
by segmondy 2516 days ago
I have done it before, there are tools that you can install that will capture the title of your active window and then graph it.

I can see if I spend 2 hours in Terminal or 1 hour in Vscode or 5 hours in Firefox. I can even see the title of sites I spent most time in the browser, etc.

That's the best approach I have found. One example I can think of is https://wakatime.com/ I personally use a python script I found a long time ago that does the same while keeping all my data locally. But it has less integrations and is not as nice.