Commit Graph

62 Commits

Author SHA1 Message Date
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
Adrian C. (anrxc) e66e5075a0 batsys: import battery widget that uses sysfs
Initial widget code was sent by Benedikt Sauer. After some cleanup it
is ready to go into master. It uses data exposed trough /sys and it is
used in the exact same way as the bat widget (and /proc). This widget
will replace batat and acpitool, it will be moved to contrib and
retired.
2009-11-10 15:46:54 +01:00
Adrian C. (anrxc) b105ae21cd README: updated net description 2009-10-22 16:36:54 +02:00
Adrian C. (anrxc) 5c6f544787 README: more information in Power section 2009-10-22 14:52:47 +02:00
Adrian C. (anrxc) 40d7881977 Adapt to awful.widget.graph max_value of 1
Vicious will now divide values by 100 to match the default graph
max_value of 1. Graphs support changing this value, but progressbars
don't. We shouldn't use 100 for one and 1 for the other.
2009-10-20 21:15:19 +02:00
Adrian C. (anrxc) 64464efbd4 README: removed obsolete widget names 2009-10-14 01:14:50 +02:00
Adrian C. (anrxc) 11985f6aed README: added padding example 2009-10-12 18:15:12 +02:00
Adrian C. (anrxc) 65e57fa9bf README: document tables returned by widget types 2009-10-10 00:24:23 +02:00
Adrian C. (anrxc) 893a85c386 README: caching documentation improved 2009-10-08 01:42:53 +02:00
Adrian C. (anrxc) 00e7b2d5a4 README: fixed disk i/o warg documentation 2009-10-07 22:31:06 +02:00
Adrian C. (anrxc) 0d5f07b86e README: included 'Other uses' section
Vicious modules can be resued for other objects, like awful tooltips
or naughty notifications. We call a module directly and manipulate the
result until we have some nice output to display. For example, a wifi
widget could be a progressbar with the signal level, but on mouse
enter a tooltip is created with ssid/mode/channel information.
2009-10-02 22:46:12 +02:00
Adrian C. (anrxc) aed924512e README: fixed some typos 2009-10-02 20:20:37 +02:00
Adrian C. (anrxc) f9335668c1 README: updated gmail information 2009-10-01 12:11:21 +02:00
Adrian C. (anrxc) 5dac6a44fd mboxc: support for multiple mbox files
Widget takes a table with full paths to mbox files as an argument.
2009-10-01 11:46:28 +02:00
Adrian C. (anrxc) 32fe7703c0 README: fixes from git-diff --check 2009-09-29 23:08:18 +02:00
Adrian C. (anrxc) b8f288b6e5 README: clarified caching usage 2009-09-25 21:49:55 +02:00
Adrian C. (anrxc) 46a7241015 README: added more caching information 2009-09-25 21:31:20 +02:00
Adrian C. (anrxc) 09457245e9 README: minor fix in mem widget example 2009-09-24 16:12:20 +02:00
Adrian C. (anrxc) 51d52551a3 README: include pbar/graph properties in examples 2009-09-21 02:01:12 +02:00
Adrian C. (anrxc) 1707bc6671 README: rewritten and now includes the "Power" section 2009-09-20 15:30:30 +02:00
Adrian C. (anrxc) 9ca9e2f421 Next release, tag 1.0.14 2009-09-19 21:41:53 +02:00
Adrian C. (anrxc) bc3cf45da0 README: mpd format function simplified 2009-09-18 00:13:20 +02:00
Adrian C. (anrxc) 549c8bc5ba Remote file systems in fs widget are optional
By default only local file systems are included now. In case a mounted
NFS share dissapears from the network the widget would be left hanging
there and has the potential to block everything else (including
awesome it self). File system widget now takes an optional argument
which, if true, will include remote file systems.
2009-09-14 20:55:53 +02:00
Adrian C. (anrxc) 4f3599db00 README: fixed CPU widget example 2009-09-13 00:46:22 +02:00
Adrian C. (anrxc) 161607e517 Gmail widget included
Widget returns the count of new and subject of last e-mail in a Gmail
inbox. Use ${count} and ${subject} in the format string to retrieve
the values. Widget takes a table with login information as an
argument.

I don't like how gmail widgets handle sensitive data but I gave in
seeing how popular they are. Better storing and handling of login
information would be in order but this isn't Python and I'm out of
ideas. For now use it on your own responsability, I would suggest to
set login info directly in the widget and file as read-only by user.
2009-09-08 22:46:59 +02:00
Adrian C. (anrxc) e5c980e58a CHANGES file switched to 'oneline' short format
Now that vicious git repo is served trough a public web interface
there is no need for a full changelog. I considered removing it
completely, but it will have to wait - before the web interface
tarballed tags were requested much more than the repo was
cloned. Maybe that will change now, in which case the file should be
removed and stop wasting space.
2009-09-07 23:02:56 +02:00
Adrian C. (anrxc) fbc3f147f1 Updated links in the README 2009-09-06 00:25:22 +02:00
Adrian C. (anrxc) 11b433c73b README updated in preparation for release 1.0.12.
Vicious tags from 1.0.12 will not be compatibile with awesome versions
prior to 3.4, tag 1.0.11 was the last one. Vicious was ported to the
new timer signals infrastructure and there is no backward
compatibility with hooks. In 1.0.12 even those C widgets that are
deprecated in awesome 3.4 (to be removed in 3.5) will not be
supported. Use awful.widget.progressbar and awful.widget.graph.
2009-08-27 03:37:34 +02:00