arbtt
arbtt copied to clipboard
Use screen saver/locker to tag inactivity
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?
Hi! That sounds like a nice and reasonable extension!