https://activitywatch.net/ doesn’t take screenshots, But depending on what you’re using it may accurately accurately record what you’re doing in a different way.
This is another tool that doesn’t exactly do what you’re asking for but may also be useful. https://wiki.gnome.org/Apps/ActivityJournal
I’ve been somewhat out of the loop. What is going on with Lemmy?