Commit Graph

209 Commits

Author SHA1 Message Date
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
Adrian C. (anrxc) 4fa87fadff wifi: properly handle non-existant interface
The "No such device" message was printed to stderr, find had no result
and all the useless matching was done on completely empty output.
2010-03-05 00:10:25 +01:00
Adrian C. (anrxc) 9eef646d33 git: ignore file removed 2010-03-03 22:40:30 +01:00
Adrian C. (anrxc) 4664beeda1 mdir: fix module description 2010-03-02 23:19:44 +01:00
Adrian C. (anrxc) 57004c0d48 Next release, tag 1.0.24 2010-02-20 04:34:45 +01:00
Adrian C. (anrxc) b96cb98352 bat: added a note about Apple PMU and ACPI/procfs 2010-02-20 04:33:27 +01:00
Adrian C. (anrxc) 23d09f0c5d README: added the Security section 2010-02-20 04:03:20 +01:00
Adrian C. (anrxc) e29ea6288a helpers: uformat helper replaces formatting done by widgets 2010-02-20 03:24:42 +01:00
Adrian C. (anrxc) f4cd746188 pkg: solve interactive pacman prompt patch from tdy 2010-02-20 02:12:02 +01:00
Adrian C. (anrxc) 5e1d1e0d47 volume: suggest appending card ID or other options
Widget type takes the mixer control as an argument, i.e. "PCM" but can
take optional amixer options, i.e. "PCM -c 1".
2010-02-18 21:42:09 +01:00
Adrian C. (anrxc) 24f23fa072 gmail: reworked feed handling and changed username format
Nothing hard coded in the worker now. Feeds are together with user
data, easily swaped. Feeds are not widget args because user needs to
modify the file for login data anyway. No progress toward safer
storage, Kwallet looks promising but dbus handling is hell - what of
non KDE users? Every other script, including much praised checkgmail
has plain text login. Nobody cares?
2010-02-12 00:33:07 +01:00
Adrian C. (anrxc) 6c34e8532e thermal: added support for procfs and coretemp
Widget type now takes the thermal zone as an argument, or a table with
1st field as thermal zone and 2nd field as data source. Available data
sources are: "proc" (procfs ACPI), "sys" (sysfs like before) and
"core" (sysfs coretemp). When only the thermal zone is provided widget
defaults to "sys".
2010-02-10 02:49:26 +01:00
Adrian C. (anrxc) 355c838555 Next release, tag 1.0.23 2010-02-04 22:16:34 +01:00
Adrian C. (anrxc) 0f3123eb8b README: added textbox fixed width example 2010-02-04 21:01:15 +01:00
Adrian C. (anrxc) 3095ffbcd5 pkg: added apt and yum to pkg managers table
This widget type now takes the distribution name as an argument; Arch,
Arch S, Debian and Fedora examples are now in the package manager
table. Feedback from yum users is needed.
2010-02-04 20:45:11 +01:00
Adrian C. (anrxc) 91925e601d pkg: pacman moved to generic packages module 2010-02-04 18:36:27 +01:00
Adrian C. (anrxc) 71566e0484 dio: further improved support for multiple devices 2010-01-29 16:48:01 +01:00
Adrian C. (anrxc) 8fe4cf436a net: sanitize time computation to avoid division by zero 2010-01-06 03:10:18 +01:00
Adrian C. (anrxc) d2a00d7057 Next release, tag 1.0.22 2010-01-02 22:51:34 +01:00
Adrian C. (anrxc) 15dd6ea287 vicious: update copyright 2010-01-02 21:21:54 +01:00
Adrian C. (anrxc) 9e372251c8 pacman: remove 3.2 example, add ignores+deps example 2010-01-01 17:29:24 +01:00
Adrian C. (anrxc) cedf1711bf wifi: return numbers without notations 2009-12-27 20:32:25 +01:00
Martin Striz fba4db6d37 weather: fix parsing of negative temperatures
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2009-12-27 20:21:12 +01:00
Adrian C. (anrxc) 2100ea1d8c Next release, tag 1.0.21 2009-12-15 02:44:19 +01:00
Adrian C. (anrxc) 9b5efc714b cpu: simplified table initialization 2009-12-15 02:41:17 +01:00
Adrian C. (anrxc) 9150063670 dio: preliminary support for multiple devices
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-15 02:38:20 +01:00
Adrian C. (anrxc) b4031d229d dio: return separated read and write statistics
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-15 00:25:58 +01:00
Adrian C. (anrxc) 2c900fa4ee README: minor changes in Format functions 2009-12-07 02:06:01 +01:00
Adrian C. (anrxc) c870691157 fs: switched to 1K blocks and new keys
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-18 00:52:55 +01:00
Adrian C. (anrxc) 5cbd75996b net: move formatting out of the worker 2009-11-18 00:05:52 +01:00
Adrian C. (anrxc) 14d69f6478 net: minor coding style change 2009-11-15 02:00:14 +01:00
Adrian C. (anrxc) db82c2aaa2 Next release, tag 1.0.20 2009-11-14 20:37:53 +01:00
Adrian C. (anrxc) 3834caa904 hddtemp: fixed support for multiple devices 2009-11-12 01:44:32 +01:00
Michael Unterkalmsteiner 1790abb0ed hddtemp: adapt regex to match disks like /dev/sg0
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-12 01:41:57 +01:00
Adrian C. (anrxc) 249294551e fs: minor coding style change 2009-11-12 01:41:33 +01:00
Hiltjo Posthuma f5b47dca8b mdir: support for multiple directories
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2009-11-12 01:40:16 +01:00
Adrian C. (anrxc) 1d0cfd3aed Cleanup widgets that use pathtotable helper 2009-11-11 14:32:37 +01:00