Commit Graph

271 Commits

Author SHA1 Message Date
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
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