Re: [dev] [slock] [patch] Add a simple script for X11 idle watching.

From: Carlos Torres <vlaadbrain_AT_gmail.com>
Date: Sat, 8 Dec 2012 11:18:39 -0500

On Dec 8, 2012 10:10 AM, "Christoph Lohmann" <20h_AT_r-36.net> wrote:
>
> Greetings.
>
> On Sat, 08 Dec 2012 16:05:52 +0100 Carlos Torres <vlaadbrain_AT_gmail.com>
wrote:
> > What about xss, http://woozle.org/~neale/src/xss.html it doesn't poll.
>
> It seems to expose the same functions but in a more hideous way. It is
> using the possibility to register a screensaver instead of having that
> logic on your own in a more understandable way.

Registration of a screensaver is the whole purpose of the mit screensaver
extension. With it you avoid polling for idle and can manage it with xset.
Isn't this better and consumes less cpu.

> And second, the code is
> using some preprocessor abstraction to emulate C++ in C. What it does
> can be done simpler.
>

Yes it could be more suckless.

>
> Sincerely,
>
> Christoph Lohmann
>
>
Received on Sat Dec 08 2012 - 17:18:39 CET

This archive was generated by hypermail 2.3.0 : Sat Dec 08 2012 - 17:24:04 CET