Commit Graph

89 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
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) 753ce61de0 cpu: calculation and optimization fixes by Joerg 2011-03-15 05:02:55 +01:00
Adrian C. (anrxc) add54f87ee README: added missing register() documentation 2010-11-03 03:33:49 +01:00
Adrian C. (anrxc) 32a7be1d6d wifi: provide link quality in percent 2010-10-19 21:23:06 +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) 86a13946b5 README: update contrib information 2010-09-13 23:01:13 +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) 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) ca1d8d79e5 README: cut on the security crap 2010-05-17 21:41:36 +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) 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) 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) 3ac4fcf150 init: missing widget type should not break awesome 2010-03-13 21:51:40 +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) 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) 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) 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) 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) 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) 4664beeda1 mdir: fix module description 2010-03-02 23:19:44 +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) 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) 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) 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) 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
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) 2e9b811770 README: document new truncate and scroll usage 2009-11-11 04:36:30 +01:00
Adrian C. (anrxc) d0aa48afb8 entropy: widget rewritten, poolsize no longer an argument 2009-11-11 03:56:43 +01:00
Adrian C. (anrxc) 493150c888 uptime: merged with load widget type
Total uptime and seconds are no longer returned. Returns are now:
days, hours, minutes, load avg 1, load avg 5 and load avg 15.
2009-11-11 03:55:03 +01:00
Adrian C. (anrxc) 7be560b70c bat: widget rewritten for sysfs
This also means that it replaces batsys, and we are left with only
one, universal, battery widget.
2009-11-11 03:50:25 +01:00
Adrian C. (anrxc) 92be5fbae5 thermal: widget rewritten for sysfs
Default path is set to /sys/class/thermal but at least it's easier to
switch to /sys/class/hwmon (i.e. coretemp) now without much code
modification. Note; zone IDs are probably different than those in
/proc/acpi/thermal_zone
2009-11-11 02:57:30 +01:00
Adrian C. (anrxc) 8e21d264d2 batat: widget type removed, now available in the contrib branch
This was one of the first widgets on top of Wicked, now that we have
both procfs and sysfs covered there is no need to keep it in master.
2009-11-10 15:53:04 +01:00