Commit Graph

88 Commits

Author SHA1 Message Date
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) 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) 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
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) 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) 1d7f64651b pkg: description updated 2010-08-29 13:53:26 +02:00
Adrian C. (anrxc) 15349516ca mpd: added some optional stats, commented 2010-08-22 14:59:05 +02:00
Adrian C. (anrxc) 4113d371d1 pkg: include FreeBSD support 2010-08-22 14:46:05 +02:00
Adrian C. (anrxc) fc46e7a19d TODO: solid multigraph support needed 2010-07-23 12:12:11 +02:00
Adrian C. (anrxc) d91266357a net: add operational state support 2010-07-19 02:14:50 +02:00
Adrian C. (anrxc) 8674c919d6 dio: add partition support 2010-07-10 02:02:34 +02:00
Adrian C. (anrxc) fdae848bba raid: removed permanent stats storage 2010-04-28 14:55:19 +02:00
Rémy CLOUARD 3e12875295 pkg: include Mandriva support
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>
2010-04-21 02:13:53 +02:00
Adrian C. (anrxc) 64e5426985 uptime: simplified system load regexp 2010-04-07 02:24:01 +02:00
Adrian C. (anrxc) 448275a386 widgets: reuse existing datasets where appropriate
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.
2010-04-02 01:08:12 +02:00
Adrian C. (anrxc) a9347ec0d0 raid: import raid state widget type by Hagen
This widget type returns 1st value as the number of assigned, and 2nd
as active, devices in the array provided as the widget argument.
2010-03-26 00:59:01 +01:00
Adrian C. (anrxc) 9af29ce1e6 pkg: aptitude alternative to apt-show-versions
Key for aptitude is Ubuntu, as Debian users are more likely to have
apt-show-versions.
2010-03-19 00:51:57 +01:00
Adrian C. (anrxc) 94a60fbc3b bat: fixed module description 2010-03-16 20:26:49 +01:00
Adrian C. (anrxc) 0299c15dc0 widgets: minor cleanup before a tag in cpuinf, fs, mbox... 2010-03-15 17:55:25 +01:00
Adrian C. (anrxc) 4fc6dffe94 wifi: return 0 not N/A when channel is unavailable 2010-03-15 17:54:28 +01:00
Adrian C. (anrxc) f50ad217ea thermal: function argument is already local 2010-03-15 17:54:00 +01:00
Adrian C. (anrxc) 4f86e28ec3 os: merge with entropy widget type
Operating System widget type now returns two additional values, 5th as
available system entropy and 6th as available entropy in percent.
2010-03-15 17:52:02 +01:00
Adrian C. (anrxc) 49b1b0972f helpers: index subdirectories in pathtotable() 2010-03-15 03:02:50 +01:00
Adrian C. (anrxc) 7cbf987a2a bat: fix battery detection 2010-03-15 02:42:36 +01:00
Adrian C. (anrxc) 4dad2e360c API: missing warg should not break awesome 2010-03-14 03:37:40 +01:00
Adrian C. (anrxc) 237470c8f4 API: transform widgets namespace table to a directory 2010-03-14 01:55:33 +01:00