Age | Commit message (Collapse) | Author | Files |
|
Now that we are so nice to provide default frequency values check if
frequency exists before calculating voltage, not to screw up *those*
default values.
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
|
|
In some cases not all cpu informations will be provided.
(ex. in virtual machines)
Therefore default to "N/A".
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
|
|
It would appear pacman v4 now prints only one line before the package
list.
|
|
Since Linux 3.0 most if not all people have temp1_input file missing,
so default to temp2_input. But also allow an optional third argument
to change to yet another file to avoid this kind of problem in the
future.
|
|
If the battery state change from charging to full,
power_now is reseted to zero for a little time.
This cause division by zero, which was visible as a very big negative
number because of the behaviour of string.format.
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
|
|
|
|
In cpufreq widget, governor char is the same for ondemand and
conservative which makes it impossible to overload symbols to
different values for these two governors in a format function.
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
|
|
|
|
|
|
|
|
In rare cases diff_total seems to become 0.
|
|
|
|
|
|
|
|
Thanks to Ikke for debugging this.
|
|
|
|
There's no more need to edit init files and manually disable widgets.
Signed-off-by: Joerg T. (Mic92) <jthalheim@gmail.com>
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
|
|
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
|
|
|
|
Old dio.lua was moved to contrib. New one is used like CPU widget is,
request the device or parition in the format argument, {sda read_mb}
as an example. New widget doesn't provide scheduler information, but I
don't know anyone who used that. If you think this is wrong let me
know.
|
|
|
|
|
|
|
|
|
|
Looks like current_now will eventually be deprecated. Thanks to Conrad
Calmez for finding this bug report:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532000
|
|
|
|
With all the tags and other crap, we could be counting mail up to 3-5
times. If you hate this change let me know. Otherwise inbox is now
default.
|
|
|
|
|
|
|
|
Current regular expression only matches two words ESSIDs, the other day
I was at a friend's home with SSID "The Dark Tower". I was getting N/A.
Signed-off-by: Amir Mohammad Saied <amirsaied@gmail.com>
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
|
|
The os.time() call should not be passed as an argument it self,
because of a chance it will be stored internally and so we would
always get the same time. Instead we can pass time offsets in seconds,
i.e. to go 6 hours forward we can use the widget argument 21600, to go
6 hours back we use -21600 instead.
|
|
Format custom time for example to calculate time zone differences, New
York time relative to me would be widget argument: os.time()-21600
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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>
|
|
|
|
Gmail, mbox, raid, weather and wifi could return the old value in case
there isn't new data, no need for N/A to be so common on our wibox.
|
|
This widget type returns 1st value as the number of assigned, and 2nd
as active, devices in the array provided as the widget argument.
|
|
Key for aptitude is Ubuntu, as Debian users are more likely to have
apt-show-versions.
|
|
|
|
|
|
|
|
|
|
Operating System widget type now returns two additional values, 5th as
available system entropy and 6th as available entropy in percent.
|