Hi, >> If I find the time, I'll look into the module and see, how it could be >> done more dynamically. E.g., I'd rather like to see three temperatures: >> >> system, coretemp0, coretemp1 >> >> so maybe the module could be restructured to accept an arbitrary number >> of tuples: ('sensorname', 'sensorpath', 'sensortype') - sensortype >> being one of e.g. 'sys' or 'cpu' - in addition to things like >> 'MemFree'. >> >> Would that be a helpful contribution? > Yes this would be good, the calcs expression still need to be passed in.
I just submitted a patch to the feature request tracker that implements a new plugin idlebar.system.sensors2 which accepts an arbitrary number of sensor-tuples ('name', 'path', 'type', 'compute_expr') mixed with an arbitrary number of meminfo-strings. Just have a look at the comments in the code to see how it's configured and, moreover, how it works... ;o) Have fun testing Torsten -- Never make anything simple and efficient when a way can be found to make it complex and wonderful. - Murphy's Law No. 13 - ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel