arbtt icon indicating copy to clipboard operation
arbtt copied to clipboard

Use screen saver/locker to tag inactivity

Open liskin opened this issue 4 years ago • 1 comments

I'd love to be able to track activities such as watching a movie or reading a dense (no scrolling for long time) blogpost, so tagging inactivity by idle time isn't suitable for my use cases. I happen to be quite consistent in locking the screen whenever I walk away, and should I forget, xss-lock takes care of it, so I'd like to use that for inactivity tagging. Unfortunately, the screen saver is transparent to xmonad/ewmh, so it's not being captured.

I guess I'd need to extend the capture format with this and then capture https://hackage.haskell.org/package/X11-1.9/docs/Graphics-X11-XScreenSaver.html#t:XScreenSaverState in addition to the idle time. Is this something possibly useful for others, shall I submit a PR then?

liskin avatar Dec 05 '20 16:12 liskin

Hi! That sounds like a nice and reasonable extension!

nomeata avatar Dec 05 '20 16:12 nomeata