Did you try use xautolock? What wrong with it?
2012/12/8 Christoph Lohmann <20h_AT_r-36.net>
> Greetings comrades,
>
> attached is a patched for slock to add a simple script for idle watching
> in your current X11 sessions. It is using xgetidle[0] for getting the
> X11 idle time.
>
>
> Sincerely,
>
> Christoph Lohmann
>
> [0] http://git.suckless.org/xgetidle/
>
Received on Sat Dec 08 2012 - 04:44:25 CET