/gone

Where has my time gone?

Primary LanguageGoISC LicenseISC

Gone Time Tracker

Build

Where has my time gone? X11 automatic work activity tracker in pure Go.

Synopsis

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/

Installation

go get github.com/dim13/gone

Caveats

  • 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

Alternatives

http://arbtt.nomeata.de/ - automatic, rule-based time tracker

Dockerize

docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix dim13/gone