They were working on pnotify for freebsd, I wonder were they are now. I think it is worth trying to rewrite widgets such that any method could be used, depending on the programs available on your OS. This should be possible : look at gnome and FAM/gamin. There is no reason the awesome hackers are less good.
On Wed, Mar 18, 2009 at 11:59 PM, <[email protected]> wrote: > Hmm, darn. Guess I was thinking too far outside the box... I didn't know > that about /proc and /sys :3 And I guess it would not be very portable... > If it were implemented it could never become more mainstream than wicked. As > it won't sork on FreeBSD and only a handful of people would use it knowing > that it wont' work on /proc or /sys :( It's a good idea, but it'd only be > useful if you were to monitor a file in your home dir or something... > > On Wed, 18 Mar 2009 09:45:03 +0100 > Christophe-Marie Duquesne <[email protected]> wrote: > >> Yes, /proc is not a real bloc device, inotify can't monitor it. You >> can improve some widgets, but for most of them, it will be impossible. >> >> On Wed, Mar 18, 2009 at 8:07 AM, Julien Danjou <[email protected]> wrote: >> > At 1237331029 time_t, Nathan Huesken wrote: >> >> What do you thing? Cool Idea or garbage? >> > >> > Both. >> > To monitor regular file, you can use inotify. You should probably >> > require à Lua module to access this function, but that should not be too >> > hard to do. However, note that inotify is Linux specific. >> > >> > OTOH, and AFAIK, inotify won't work for /sys or /proc , because this 2 >> > file systems are not real file sytems and no one is writing your >> > battery status inside a file; it's when you open it that you go and ask >> > your >> > battery its status. >> > >> > Cheers, >> > -- >> > Julien Danjou >> > // ᐰ <[email protected]> http://julien.danjou.info >> > // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD >> > // When I get sad, I stop being sad and be awesome instead. True story. >> > >> > -----BEGIN PGP SIGNATURE----- >> > Version: GnuPG v1.4.9 (GNU/Linux) >> > >> > iEYEARECAAYFAknAncIACgkQpGK1HsL+5c11RwCgoZN48Lujz6O54T7oY1W7gyB9 >> > yUQAmgPvQl+tjyEdG/qDnFkRgGTzUT47 >> > =uriq >> > -----END PGP SIGNATURE----- >> > >> > >> >> >> >> -- >> Christophe-Marie Duquesne >> >> -- >> To unsubscribe, send mail to [email protected]. > -- Christophe-Marie Duquesne -- To unsubscribe, send mail to [email protected].
