Re: [wmii] Idle Detection Feature Proposal

From: Denis Grelich <denisg_AT_suckless.org>
Date: Tue, 16 Jan 2007 17:09:43 +0100

On Tue, 16 Jan 2007 11:57:38 +0100
Alexis Hildebrandt <afh_AT_2drop.net> wrote:

> Hello,
> Denis has been kind enough to add a couple events, which enhance the
> scriptability of wmii. Thanks a lot for that =)
>
> Two events that could be very useful in combination with slock (or
> other screen locking mechanism for that matter) are:
> Idle & Active
>
> What do you think?
> Is that a feature you could be interested in?
> Is there another feasible solution already available, that runs slock
> after a configurable time of user idleness?
>
> I have no idea whether the event loops used in wmii or libixp support
> idle detection or not. I'll have a look if someone that knows the wmii
> and libixp code by heart points me to a location where I could start
> digging.
>
> Best regards,
> Alexis

I'm not sure about having such functionality in the window manager. I
don't know how you would define idleness, but /event is a read- and
writable file. Maybe a standalone application could check for idleness
and then simply write "Idle" or "Active" into that file, which is then
being broadcast to all listeners.

Greetings
Denis
Received on Tue Jan 16 2007 - 17:09:45 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:18:37 UTC