Hi,

Stimulated by the talk about notification deamons, I wondered.
Many widgets in my awesome setup constantly poll files.
For example, the battery widget constantly polls filed in /sys to disply when 
the AC is plugged in or out.

I do not know much about what I am talking about, but would it not be much more 
efficient to do this using inotify events?

I guess for this to work, the lua api would have to be extended but a function:
notify_on_change(file,func)
calling func on changes to file.

What do you thing? Cool Idea or garbage?

Regards,
Nathan

-- 
To unsubscribe, send mail to [email protected].

Reply via email to