Widget type by Radu provides active netcfg profiles in a table. In
contrib until we see what can be done with this, who wants to use it
and if data should be provided in other formats. We can't be certain
of the number of active profiles so a format string like $1|$2|$3 will
vary between sessions.
This commit adds support for mandriva tools in the pkg widget through
the use of urpmq --auto-select. Note: this command only checks for
hdlists files available on the computer. To get "live" statistics one
should run urpmi.update which has to be run with higher privileges.
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
- 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.
It is a bit different from the overall vicious design, for now it is
in the contrib branch. We just gained some exposure and I expect more
people to send me stuff like this. It is still unclear weather vicious
will depend on third party libs (in which case we take an XML
parser). If not, maybe we will have a very basic html/xml parser as a
helper, or maybe neither and this widget will be introduced to master
(with a few more improvements I hope). It is too early to say, we just
got some users.
Contrib should be better known because of the extra widgets it
contains. While the vicious-fbsd branch by Richard Kolkovich was
already added to the vicious home page and needs more exposure.