-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Andrei Thorp wrote: > On Mon, Aug 03, 2009 at 06:21:42PM +0200, Uli Schlachter wrote: >> [...] >> Subject: [PATCH 2/4] Add a general function for creating widgets >> [...] > > Nifty, nifty. What we might want to investigate in the future is having > widget users be able to choose what kind of display the widget has. For > example, if we have a graphical progress bar as well as a textual > progress bar as well as a simple numerical progress bar, it's imaginable > that you could write a generic widget that has an option for which kind > of display it should be using.
You should really take a look at my "obvious rfc patches" below. ;) In my current awesomerc.lua I got sth like this: obvious.widget.progressbar(obvious.data.wlan("wlan0")), obvious.widget.graph(obvious.data.wlan("wlan0")), I hope you get the idea. ;) Please comment on those patches! Uli P.S: While I only submitted the wlan version yet, I have upload traffic, download traffic, mem usage, cpu usage, disk I/O and used disk space coded and working. - -- "Do you know that books smell like nutmeg or some spice from a foreign land?" -- Faber in Fahrenheit 451 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iQEcBAEBCAAGBQJKextDAAoJECLkKOvLj8sGk+AH/j7x5ypNoPX6dn8E64FkE2vb Yy+0HRN2yJLerHsOnF5x8WBSdJxG+MzSvGvLHT1iIe265T/UMx/W3A406bMW+Hin n1imn04+Zikwr/MPRMOF0bNbyErQCkI6gxB6RSimfXz5GPNfY3qGnUOwWhcmZHyC KkTFsxzhYrxmX4y8Qn6IZd/z5SKbgwwNk6/wTxa9Kcn6Sh/DCQOasjp6A1kQxHDq 6tLctoIs5Gxue8j/VSNo/mZqDafgU+CRtEltrxziXNtDcFY2xHBPSUYn2ecy7R0N a8ajU8sCk+rU8wkfhDpll53cVzOgXNJdX9I5Z22igBtnGAxvlGUg50a+nj9fnWA= =JfO7 -----END PGP SIGNATURE----- -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.