Commit Graph

245 Commits

Author SHA1 Message Date
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) 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
Adrian C. (anrxc) 77d1a0ba2f gmail: switch to ~/.netrc for login storage
Login information is now kept in the ~/.netrc file, which should be
readable only by the owner. This should solve futher problems with
unquoted characters addressed in the last commit. The format of the
~/.netrc file is as follows (also documented in the README):
machine mail.google.com login user password pass
2010-03-10 21:59:15 +01:00
Adrian C. (anrxc) 1c0cefff8b gmail: don't break on non-escaped chars, quote login 2010-03-10 21:25:51 +01:00
Adrian C. (anrxc) abacd771bd fs: include available space in percent, requested by Jon
Format string and key example: "${/home avail_p}"
2010-03-10 01:57:25 +01:00
Adrian C. (anrxc) 94e7ed1beb fs: rewritten, less prone to error 2010-03-09 02:51:36 +01:00
Adrian C. (anrxc) fa40e402a7 init: never pass nil into awful.widget widgets 2010-03-07 21:43:18 +01:00
Adrian C. (anrxc) 6f79227ca1 Next release, tag 1.0.25 2010-03-07 18:26:30 +01:00
Adrian C. (anrxc) f34bfaf138 fs: fix the bug reported by Alex Tergeland
The regexp did not match for him. Now there is also a handler so the
widget does not break if it happens again.
2010-03-07 17:31:49 +01:00
Adrian C. (anrxc) 5f41c7a238 init: do not use keyword type for user data 2010-03-07 04:10:57 +01:00
Adrian C. (anrxc) ee64644ddc API: added force() function to force update widgets
New function introduced vicious.force({ widget, }) - widget argument
is a table with one or more widgets that will be updated.
2010-03-07 03:09:44 +01:00
Adrian C. (anrxc) 95e9a771b9 API: regregister() and update() are not exposed 2010-03-07 02:39:26 +01:00
Adrian C. (anrxc) ff050a02a4 README: link to the "Widgets in awesome" document 2010-03-07 01:01:37 +01:00
Adrian C. (anrxc) 5226d10c27 API: function enable_caching() is now cache() 2010-03-07 00:56:42 +01:00
Adrian C. (anrxc) 9371839401 volume: added real mute support
Widge type returns 1st value as the volume level and 2nd as the mute
state of the requested channel represented as a symbol.
2010-03-06 22:12:47 +01:00
Adrian C. (anrxc) dbd6c7b03e weather: capitalize weather and sky stats 2010-03-06 03:43:38 +01:00
Adrian C. (anrxc) 2c6b96976f weather: calculate degree Celsius from Fahrenheit 2010-03-06 03:20:43 +01:00
Adrian C. (anrxc) ad14818d4e helpers: import capitalize
This helper will capitalize the first letter of every word in a given
string. It'll be useful for some widget string which look out of place
otherwise, like "rain, snow" (<- where did this come from?). But it
can also be useful for people that like to use this format, camel case
or simillar.
2010-03-06 03:11:54 +01:00
Adrian C. (anrxc) 0ab8311b02 wifi: properly handle iwconfig PATH differences
Most distributions keep it in /sbin, some in /usr/sbin, and somewhere
it is, in other places it is not, in the user's $PATH. Now a simple
discovery is done to handle this.
2010-03-05 00:24:43 +01:00