I’m self employed. I need to record how much time I spend on whatever task for whatever client.
Sounds simple, but I’m terrible at it. I always get to the end of the day without having recorded anything and not knowing what I’ve actually done.
Basically, I’d like to create a text log of the active window title, and take a screen cap.
I’d like to do this periodically as in every 15 minutes or so.
For the text log I just haven’t been able to achieve this at all.
For the screen caps I can use flameshot to take a screenshot from the CLI, but it makes a sound and shows an animation which is sub-optimal.
Any suggestions of where to look much appreciated.


@null_dot
Haven’t ever done this in wayland, but in X, I always used to
xdotoolto grab the title of the active window. I’d guess you could do the same using one of the wayland alternatives likeydotool,wlrctl,dotool, or whatever else is out there. And something likegrimto grab an image of the window.