Commit Graph

612 Commits

Author SHA1 Message Date
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) 1f26379afd ossvol: added real mute support (untested) 2010-03-15 18:03:44 +01:00
Henning Glawe a2e56f7352 net: support carrier detection and total data transfer rate
- 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>
2010-03-15 18:03:44 +01:00
Adrian C. (anrxc) 2e9134d968 bat: bat widget using acpitool renamed to batacpi 2010-03-15 18:03:44 +01:00
Adrian C. (anrxc) 387f282b5c mpc: old MPD widget renamed to MPC 2010-03-15 18:03:44 +01:00
Adrian C. (anrxc) 73596f739f contrib: imported lm_sensors widget, by jabbas
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.
2010-03-15 18:03:44 +01:00
Adrian C. (anrxc) 3e05527a09 contrib: imported Apple PMU battery widget
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.
2010-03-15 18:03:44 +01:00
Adrian C. (anrxc) 601de2b891 contrib: imported basic OSS volume widget 2010-03-15 18:03:44 +01:00
Adrian C. (anrxc) 5ca6bf2748 bat: bat widget using procfs renamed to batproc 2010-03-15 18:03:44 +01:00
Adrian C. (anrxc) 636abecd60 batsys: widget type rewritten
Widget was rewritten and cleaned up before it's moved into master.
2010-03-15 18:03:44 +01:00
Adrian C. (anrxc) 480aea8b37 batsys: remove LuaFileSystem dependancy
This module will most likely be moved to master in the future. While
batat will be retired, and moved to contrib.
2010-03-15 18:03:44 +01:00
Adrian C. (anrxc) d92161bd00 batsys: don't error out on missing LuaFileSystem 2010-03-15 18:03:44 +01:00
Adrian C. (anrxc) ba29256989 contrib: imported batsys battery widget, from filmor
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.
2010-03-15 18:03:44 +01:00
Adrian C. (anrxc) ee76f976a0 rss: updated aware home page 2010-03-15 18:03:43 +01:00
Adrian C. (anrxc) 78a4cbf6d5 rss: added aware information 2010-03-15 18:03:43 +01:00
Adrian C. (anrxc) 6a338fbee1 contrib: added rss to init 2010-03-15 18:03:43 +01:00
Adrian C. (anrxc) 42269dcb99 contrib: Imported the rss widget, by olcc
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.
2010-03-15 18:03:43 +01:00
Adrian C. (anrxc) 338a2ee952 Next release, tag 2.0.0 2010-03-15 18:00:59 +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) a4bd3075e5 README: updated link to contrib 2010-03-14 19:06:39 +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
Adrian C. (anrxc) 9a82d4113a init: never pass string to awful.widget widgets 2010-03-13 22:46:45 +01:00
Adrian C. (anrxc) 3ac4fcf150 init: missing widget type should not break awesome 2010-03-13 21:51:40 +01:00
Adrian C. (anrxc) febc91dda5 hddtemp: minor style changes 2010-03-13 03:39:54 +01:00
Adrian C. (anrxc) 9338cb930b cpuinf: rewritten and optimized 2010-03-13 03:24:37 +01:00
Adrian C. (anrxc) 96a8e557d3 Make use of io.lines() where appropriate 2010-03-13 02:11:41 +01:00
Adrian C. (anrxc) 6441db0a94 README: added a list of needed utilities 2010-03-13 00:34:26 +01:00
Adrian C. (anrxc) 06a455a113 README: add contributors to Authors section
If you would like to be removed from the list let me know.
2010-03-12 23:10:42 +01:00
Adrian C. (anrxc) 178a7eb88e README: added contrib and vicious-fbsd information
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.
2010-03-12 22:30:58 +01:00
Adrian C. (anrxc) 0dd5b72f01 README: standardize quotes 2010-03-12 22:06:31 +01:00
Adrian C. (anrxc) 8482b5407c mpd: rewritten and now uses curl not mpc
Widget type uses curl now, like all other types accessing network
resources (until, if ever, we switch to luasocket). Where previously
only the currently playing song was returned now you can access these
keys: {volume}, {state}, {Artist}, {Title}, {Album}, {Genre}. You can
provide an optional table argument to change password, host or port.
2010-03-12 21:56:17 +01:00
Adrian C. (anrxc) dda51b1e34 net: remove redudant string.match call 2010-03-12 04:21:11 +01:00
Adrian C. (anrxc) 1abb451d7a Next release, tag 1.0.26 2010-03-12 03:47:11 +01:00
Adrian C. (anrxc) 6898d4a1a4 dio: add I/O scheduler support
I/O scheduler information is stored in the key: {sched}
2010-03-12 03:44:42 +01:00
Adrian C. (anrxc) 71f21f38c1 fs: use -l not --local for portability 2010-03-12 03:39:46 +01:00
Adrian C. (anrxc) edb4619a55 os: import operating system information widget
This widget type returns 1st value as the operating system in use, 2nd
as the release version, 3rd as your username and 4th the hostname.
2010-03-12 03:37:39 +01:00
Adrian C. (anrxc) de15934120 fs: further improve the regexp 2010-03-11 17:25:20 +01:00
Adrian C. (anrxc) 3178068b96 mem: rewrite and simplify 2010-03-11 02:57:07 +01:00