Where has my time gone? X11 automatic work activity tracker in pure Go.
Gone performs automatic time accounting on EWMH capable Window Managers by looking at _NET_ACTIVE_WINDOW atom and storing time spent on a particular application.
Gone is aware of ScreenSaver and suspends accounting if ScreenSaver triggers.
As fallback (see caveats) gone also stops at user inactivity. The inactive time is counted separated.
Results are presented at http://localhost:8001/
go get github.com/dim13/gone
-
For xmonad Window Manager EwmhDesktop extension is required.
-
xscreensaver seems to ignore MIT-SCREEN-SAVER extension. Use xidle/xlock instead and/or activate X11 ScreenSaver:
xset s default
http://arbtt.nomeata.de/ - automatic, rule-based time tracker
docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix dim13/gone