Commit Graph

308 Commits

Author SHA1 Message Date
Sébastien Luttringer 7e81bb8a95 cpufreq: differentiate between ondemand and conservative
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>
2012-01-20 14:21:24 +01:00
Adrian C. (anrxc) 6f42ee5e51 README: update wtype argument explanation
Many users miss the fact they can register their functions as widget
types. Documentation for wtype being incomplete wasn't helping.
2011-12-10 17:34:38 +01:00
Adrian C. (anrxc) 45c6ebaeb6 bat: fix time calculation, bug introduced in 350e924 2011-11-20 17:44:04 +01:00
J. Thalheim cd4b04df44 thermal: remove unnecessary read 2011-11-19 02:24:34 +01:00
Adrian C. (anrxc) 350e9240ea bat: another workaround for broken ACPI implementations 2011-11-19 02:20:08 +01:00
Joerg T. (Mic92) eeb27a2916 [cpu] fix division by zero
In rare cases diff_total seems to become 0.
2011-09-24 17:43:27 +02:00
Adrian C. (anrxc) 059442d039 net: sanitize time computation to avoid division by zero 2011-09-03 12:10:51 +02:00
Joerg T. (Mic92) 25b375bd6b [pulse] round volume to integer 2011-09-02 05:13:32 +02:00
Adrian C. (anrxc) 18e1823ded vicious: cleanup tabs and bad intendation 2011-08-18 20:44:04 +02:00
Joerg T. (Mic92) cf996f2ea3 [net] calculate time in a more clean way 2011-08-18 20:39:33 +02:00
Joerg T. (Mic92) f1844decef Allocate reg table with all values in one shot 2011-08-18 20:39:22 +02:00
Adrian C. (anrxc) b11d251ef0 README: provide multigraph usage example 2011-08-07 22:17:26 +02:00
Adrian C. (anrxc) 44aea3786f bat: better fix for missing rate in 31d7b2f
Thanks to Ikke for debugging this.
2011-07-12 23:54:13 +02:00
Adrian C. (anrxc) e01a8ebe21 vicious: document mem.bcuse 2011-06-30 01:06:43 +02:00
Adrian C. (anrxc) 1384b69384 mem: provide mem.bcuse for Gabriel 2011-06-30 01:02:43 +02:00
Adrian C. (anrxc) 324563e51b Next release, tag 2.0.3
Thanks to Jörg Thalheim and his work on improving Vicious, we can make
this tag.
2011-05-10 22:40:34 +02:00
Joerg T. (Mic92) dcc2b60cd8 vicious: load widget modules only when needed
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>
2011-05-10 00:50:41 +02:00
Perry Hargrave 06e8f7c68a mpd: allow named keys or positional arguments
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2011-04-25 21:21:32 +02:00
Adrian C. (anrxc) 729ceb7865 dio: import string.match() 2011-03-29 16:41:24 +02:00
Adrian C. (anrxc) c2f7fbcf23 dio: provide stats for all devices, rewritten by Joerg
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.
2011-03-29 02:21:53 +02:00
Adrian C. (anrxc) 6522f58011 cpu: another 10 percent optimization from Joerg 2011-03-17 04:26:20 +01:00
Adrian C. (anrxc) 753ce61de0 cpu: calculation and optimization fixes by Joerg 2011-03-15 05:02:55 +01:00
Adrian C. (anrxc) f85d9444d9 gmail: fixed misleading comment 2011-03-09 06:53:13 +01:00
Adrian C. (anrxc) 31d7b2fc6b bat: fixed "no such device" for current and power 2011-02-21 06:46:49 +01:00
Adrian C. (anrxc) d38584386d helpers: properly handle magic characters 2011-02-15 05:47:21 +01:00
Adrian C. (anrxc) 6ddad318e0 bat: added power_now support
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
2011-02-15 03:49:43 +01:00
Adrian C. (anrxc) fd0718e3f8 contrib: added a README with pulse.lua documented 2011-01-13 04:04:12 +01:00
Joerg T. (Mic92) 9f4302c3cf contrib: rewrite pulse module
* replace grep with lua string matching
* caching sinks
* add toggle function

Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2010-12-19 00:16:55 +01:00
Adrian C. (anrxc) 5160cfe8e9 Next release, tag 2.0.2 2010-11-30 02:34:54 +01:00
Adrian C. (anrxc) add54f87ee README: added missing register() documentation 2010-11-03 03:33:49 +01:00
Adrian C. (anrxc) fe2e432685 TODO: fix contrib/sensors for Ian 2010-11-03 03:21:56 +01:00
Adrian C. (anrxc) 762593385c wifi: proper fix for SSID regexp 2010-10-29 17:50:13 +02:00
Adrian C. (anrxc) 7f7a94d795 gmail: inbox is now default
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.
2010-10-29 16:46:59 +02:00
Adrian C. (anrxc) 82eb67b400 wifi: removed spurious bracket from SSID regexp 2010-10-28 20:16:18 +02:00
Adrian C. (anrxc) 304fa336ed wifi: properly handle disconnects 2010-10-24 23:36:38 +02:00
Adrian C. (anrxc) 32a7be1d6d wifi: provide link quality in percent 2010-10-19 21:23:06 +02:00
Adrian C. (anrxc) c532c0b080 contrib: fixed email of pulse widget author 2010-10-18 16:36:07 +02:00
Amir Mohammad Saied 49b0913b04 wifi: improved SSID regular expression
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>
2010-10-12 14:14:49 +02:00
Adrian C. (anrxc) 932bd8dfcb init: emit timeout instead of forced update 2010-10-09 10:03:21 +02:00
Adrian C. (anrxc) fbd2af7b15 init: add set_markup support 2010-10-08 22:26:08 +02:00
Adrian C. (anrxc) e51d8ac39e date: turn time widget argument into an offset
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.
2010-10-04 22:42:31 +02:00
Adrian C. (anrxc) c6085eef06 date: accept time as a widget argument
Format custom time for example to calculate time zone differences, New
York time relative to me would be widget argument: os.time()-21600
2010-10-03 18:48:02 +02:00
Adrian C. (anrxc) a9d6ea21e6 init: add connect_signal support, patch by Uli 2010-09-14 15:21:16 +02:00
Adrian C. (anrxc) 86a13946b5 README: update contrib information 2010-09-13 23:01:13 +02:00
Adrian C. (anrxc) fbfcc495fc init: comment connect_signal for users of awesome master
Thanks to all who sent patches. Usually I would support master, but in
this case we are very far from the next release. In addition master is
(much more than usually) unstable right now.
2010-09-13 22:26:33 +02:00
Adrian C. (anrxc) 1d7f64651b pkg: description updated 2010-08-29 13:53:26 +02:00
Adrian C. (anrxc) 88c3d0c11e contrib: use pcall for luasocket in pop 2010-08-29 01:32:24 +02:00
Adrian C. (anrxc) b200a8073d contrib: dont import pop - requires luasocket 2010-08-29 01:22:35 +02:00
Adrian C. (anrxc) 0350ec9676 TODO: document contrib widgets 2010-08-29 01:04:30 +02:00
Adrian C. (anrxc) f8a8696389 contrib: imported POP3 widget from Boris 2010-08-29 01:03:31 +02:00