- for each interface, read carrier info from sysfs into
args["{"..name.." carrier}"], 1 means 'link up', 0 'link down'
- the carrier info for the 'total' pseudo-interface is a logical or of
the carriers of the summed interfaces (i.e. those not contained in
the ignore list)
- sum rates of all interfaces (except the ones in an ignore list) and
make them available under the interfacename "total"
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
Widget type by Greg D. exposes lm_sensors data. Accessing a specific
sensor is done with a a widget argument, i.e.: "temp1" or "Core
0". The 1st returned value is the input (i.e. temperature of a thermal
sensor) and 2nd the relative percent in regard to reaching critical(or
maximum) temperature.
This code was requested by an iBook G4 owner. Widget type reads
information from /proc/pmu, and takes an argument like "battery_0". It
exposes the same data, in the same way, as all the other battery
widgets.
Widget sent by Benedikt Sauer uses data exposed trough /sys, but it is
used in the same way as bat.lua and /proc. However batsys depends on
LuaFileSystem.