aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2010-01-02Next release, tag 1.0.22v1.0.22Adrian C. (anrxc)2
2010-01-02vicious: update copyrightAdrian C. (anrxc)25
2010-01-01pacman: remove 3.2 example, add ignores+deps exampleAdrian C. (anrxc)1
2009-12-27wifi: return numbers without notationsAdrian C. (anrxc)1
2009-12-27weather: fix parsing of negative temperaturesMartin Striz1
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2009-12-15Next release, tag 1.0.21v1.0.21Adrian C. (anrxc)1
2009-12-15cpu: simplified table initializationAdrian C. (anrxc)1
2009-12-15dio: preliminary support for multiple devicesAdrian C. (anrxc)1
Makes arrays for every requested disk to keep stats separated. But the whole thing with these widgets with arguments clashes with caching, and problems are to be expected.
2009-12-15dio: return separated read and write statisticsAdrian C. (anrxc)2
This changes keys that are returned, previously only total I/O was available in: {raw}, {kb} and {mb}. Keys returned now are (s=raw): {total_s}, {total_kb}, {total_mb}, {read_s}, {read_kb}, {read_mb}, {write_s},{write_kb} and {write_mb}.
2009-12-07README: minor changes in Format functionsAdrian C. (anrxc)1
2009-11-18fs: switched to 1K blocks and new keysAdrian C. (anrxc)2
Previous version could return 1 on one update and 900 on the next (1st being GB, 2nd MB) a user appending "GB" to the value suddenly has a 900GB disk available. Returned keys are now: size_mb, size_gb, used_mb, used_gb, avail_mb, avail_gb, and percentage is now: used_p.
2009-11-18net: move formatting out of the workerAdrian C. (anrxc)1
2009-11-15net: minor coding style changeAdrian C. (anrxc)1
2009-11-14Next release, tag 1.0.20v1.0.20Adrian C. (anrxc)1
2009-11-12hddtemp: fixed support for multiple devicesAdrian C. (anrxc)1
2009-11-12hddtemp: adapt regex to match disks like /dev/sg0Michael Unterkalmsteiner1
The regular expression did not match the following output from hddtemp: |/dev/sg0|ST9160823ASG|38|C|. Fixed by allowing digits in the "disk" part of the expression. Signed-off-by: Michael Unterkalmsteiner <miciu@gmx.de> Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2009-11-12fs: minor coding style changeAdrian C. (anrxc)1
2009-11-12mdir: support for multiple directoriesHiltjo Posthuma2
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2009-11-11Cleanup widgets that use pathtotable helperAdrian C. (anrxc)6
2009-11-11helpers: simplify pathtotable, patch by filmorAdrian C. (anrxc)1
2009-11-11Next release, tag 1.0.19v1.0.19Adrian C. (anrxc)1
2009-11-11README: document new truncate and scroll usageAdrian C. (anrxc)1
2009-11-11entropy: widget rewritten, poolsize no longer an argumentAdrian C. (anrxc)2
2009-11-11uptime: merged with load widget typeAdrian C. (anrxc)4
Total uptime and seconds are no longer returned. Returns are now: days, hours, minutes, load avg 1, load avg 5 and load avg 15.
2009-11-11bat: widget rewritten for sysfsAdrian C. (anrxc)4
This also means that it replaces batsys, and we are left with only one, universal, battery widget.
2009-11-11cpufreq: widget rewritten, governor symbols enabledAdrian C. (anrxc)1
2009-11-11dio: widget type rewrittenAdrian C. (anrxc)1
I wrote this module with graphs in mind and returned values were somewhat hostile towards textbox widgets. Now KB/MB values are formatted to one decimal point. There is still work to be done.
2009-11-11thermal: widget rewritten for sysfsAdrian C. (anrxc)2
Default path is set to /sys/class/thermal but at least it's easier to switch to /sys/class/hwmon (i.e. coretemp) now without much code modification. Note; zone IDs are probably different than those in /proc/acpi/thermal_zone
2009-11-11helpers: import pathtotableAdrian C. (anrxc)1
This helper exposes paths as Lua tables. It will help simplify a lot of widgets. Thanks to Benedikt Sauer for the original idea.
2009-11-10batsys: add note about other charge/rate sourcesAdrian C. (anrxc)1
As in capacity case maybe there are other rate sources. Exposed in different files depending on the implementation?
2009-11-10batsys: don't return 0 if only rate is missingAdrian C. (anrxc)1
2009-11-10batat: widget type removed, now available in the contrib branchAdrian C. (anrxc)3
This was one of the first widgets on top of Wicked, now that we have both procfs and sysfs covered there is no need to keep it in master.
2009-11-10batsys: import battery widget that uses sysfsAdrian C. (anrxc)4
Initial widget code was sent by Benedikt Sauer. After some cleanup it is ready to go into master. It uses data exposed trough /sys and it is used in the exact same way as the bat widget (and /proc). This widget will replace batat and acpitool, it will be moved to contrib and retired.
2009-11-04De-obfuscate e-mail addressAdrian C. (anrxc)27
2009-11-03Minor changes in mboxc and orgAdrian C. (anrxc)2
2009-11-03gmail: add scrolling support and truncate controlAdrian C. (anrxc)1
Same as the mpd widget. No argument, string is returned in full. Number enables truncate. Table enables scrolling.
2009-11-03mbox: add scrolling support and truncate controlAdrian C. (anrxc)1
Widget argument can now be a string (full path to the mbox) or a table. In case of a table 1st field is full path to the mbox and 2nd is maximum text lenght after which it will be truncated. If there is a third field scrolling will be used - if so, 3rd field should be the widget name.
2009-11-03mpd: add scrolling support and truncate controlAdrian C. (anrxc)1
Widget takes an optional argument that controls truncate and scrolling. In case of a number truncate is used, it represents the maximum lenght of widget text. In case of a table scrolling is used, 1st field is maximum lenght, and 2nd is widget name. An example: {24, "mpdwidget"}
2009-11-03helpers: import scroll from Remy ClouardAdrian C. (anrxc)1
First scroll helper, that provides an alternative to truncate. Text shifts every time the widget is updated, there is no internal timer.
2009-10-26Ensure returned numbers are of type numberAdrian C. (anrxc)12
Thanks to Felix for bringing this to my attention. Obviously there was already a safety net for feeding progressbars and graphs... and while this makes for a good coding practice it's not a big deal. We have widgets of type textbox for one, and a lot of string concatenation happens. Strings are formatted, markup is applied...
2009-10-22README: updated net descriptionAdrian C. (anrxc)2
2009-10-22net: unit formatting delegated to a functionAdrian C. (anrxc)1
This simplifies the code, in addition string.format is now used to ensure all values have one decimal point at all time. We'll see how recent changes and this one will affect people that use network graphs.
2009-10-22README: more information in Power sectionAdrian C. (anrxc)1
2009-10-20Adapt to awful.widget.graph max_value of 1Adrian C. (anrxc)2
Vicious will now divide values by 100 to match the default graph max_value of 1. Graphs support changing this value, but progressbars don't. We shouldn't use 100 for one and 1 for the other.
2009-10-16batat: better returns when handling insufficient dataAdrian C. (anrxc)1
If we return "N/A" like we usually do then format string "$1$2" would look like "N/AN/A". If "/" is returned a progressbar could be broken. Now returns are: symbol for state "unknown", 0 for battery charge, N/A for remaining time.
2009-10-16Next release, tag 1.0.18v1.0.18Adrian C. (anrxc)1
2009-10-15bat: better returns when handling insufficient dataAdrian C. (anrxc)1
If we return "N/A" like we usually do then format string "$1$2" would look like "N/AN/A". If "/" is returned a progressbar could be broken. Now returns are: symbol for state "unknown", 0 for battery charge, N/A for remaining time.
2009-10-15bat: better fix for ACPI, from bioe007Adrian C. (anrxc)1
Previous commit had redudant string > number conversions, and only covered one scenario - when battery is charged. bioe007 suggested to use math.min. Now lets explain why this is needed. Some (lousy) batteries report "remaining capacity" higher than "last full capacity" when AC is connected. That leads to battery charges like "160%".
2009-10-15bat: quick fix for broken BAT/ACPI implementationsAdrian C. (anrxc)1
2009-10-14README: removed obsolete widget namesAdrian C. (anrxc)1