Commit Graph

121 Commits

Author SHA1 Message Date
Adrian C. (anrxc) e252fd955a Next release, tag 1.0.17 2009-10-05 00:23:16 +02:00
Adrian C. (anrxc) a2b9de4e41 mem: widget type rewritten 2009-10-05 00:13:05 +02:00
Adrian C. (anrxc) c84f515690 mbox: read a 30kb chunk by default 2009-10-05 00:11:44 +02:00
Adrian C. (anrxc) 4602ca2fa5 Lots of coding style changes 2009-10-05 00:10:47 +02:00
Adrian C. (anrxc) af4e85f99d bat: added a handler for incompetent users
A lot of people expect widgets like this one to auto-magically work,
and somehow don't understand that *they* need to make sure there is a
source of information. Is ACPI module loaded? Is battery info exposed
in the same place that widget expects by default? You need to answer
those questions before loading the widget and sending me "bug"
reports.
2009-10-04 16:26:34 +02:00
Adrian C. (anrxc) fcf1027cb5 cpufreq: use string library for find/match 2009-10-04 00:55:56 +02:00
Adrian C. (anrxc) b4e028b21f Removed some useless else statements 2009-10-04 00:54:27 +02:00
Adrian C. (anrxc) b65d509380 Reworked counters in mboxc, mdir, org 2009-10-04 00:31:12 +02:00
Adrian C. (anrxc) b185e96494 mbox: don't hide when there is no mail 2009-10-04 00:28:54 +02:00
Adrian C. (anrxc) 724366c038 Reworked some variables in entropy, load, mpd, net, init 2009-10-04 00:21:15 +02:00
Adrian C. (anrxc) 643ecb0287 date: function simplified 2009-10-04 00:06:05 +02:00
Adrian C. (anrxc) 3d97d44a02 cpuinf: prepend 'cpu' to CPU ID in table keys
Keys like cpu0 are more suitable, because they match cpufreq widget
arguments. Instead of old format strings, like: ${0 mhz} now use:
${cpu0 mhz}
2009-10-02 23:31:46 +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) 9d518b83a9 volume: added mute support
If a channel is muted we return 0. Something like "Muted" would be
nice, but lets not break progressbars. If it doesn't concern you, then
return what ever you want...
2009-10-02 21:48:05 +02:00
Adrian C. (anrxc) ddf9646b5e thermal: added some comments
We still stick to ACPI thermal zones because they are most commonly
exposed (with proper ACPI modules loaded). But if you can find another
source of temperature exposed trough /sys use it. Current code should
match a lot of sources, but in some cases you will want to modify it a
bit, add a dot, or limit to two numbers (except when the value is
100+, you don't want to miss the fact your CPU is melting).
2009-10-02 20:52:46 +02:00
Adrian C. (anrxc) 0e863a5249 bat: coding style changes 2009-10-02 20:33:58 +02:00
Adrian C. (anrxc) 44f95c3651 cpufreq: widget type rewritten
It also won't break anymore when voltage support is missing since it
happens so often. But there are no handlers for the frequency or
governors - if you don't have those what the hell are you doing with
this widget anyway?
2009-10-02 20:21:21 +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) f99a74b7c8 gmail: count all unread messages
Widget now uses the Gmail unread tag to get a list of all unread
messages, not only the Inbox. The auth argument was removed, and login
information should now be placed directly in the widget (and file made
read-only by user) until a safer storage is introduced.
2009-10-01 12:08:39 +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) b0f737ea56 Rewrote all headers 2009-09-29 22:33:19 +02:00
Adrian C. (anrxc) 8e544fd91b Next release, tag 1.0.16 2009-09-25 21:53:22 +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) eadf0c93e1 Caching is controlled by users 2009-09-25 21:16:55 +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) c9fba4e0d2 Widgets derived from wicked include a notice 2009-09-20 23:16:10 +02:00
Adrian C. (anrxc) ba6dfaebaf Next release, tag 1.0.15 2009-09-20 15:32:16 +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) e205d6607b CHANGES: changelog update
Forgot to do it for the 1.0.14 tag.
2009-09-19 22:33:56 +02:00
Adrian C. (anrxc) 9ca9e2f421 Next release, tag 1.0.14 2009-09-19 21:41:53 +02:00
Adrian C. (anrxc) 68b30a3cc7 init: Default to 2s timer 2009-09-19 17:31:52 +02:00
Adrian C. (anrxc) bc3cf45da0 README: mpd format function simplified 2009-09-18 00:13:20 +02:00
Adrian C. (anrxc) 7410bc0086 Entropy widget cleaned up 2009-09-15 00:41:28 +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) 2a5126f4f0 General cleanup 2009-09-14 17:25:23 +02:00
Adrian C. (anrxc) 4f3599db00 README: fixed CPU widget example 2009-09-13 00:46:22 +02:00
Adrian C. (anrxc) 1603b5fe82 Curl connect timeout 1s, max time 3s 2009-09-10 17:04:41 +02:00
Adrian C. (anrxc) a950bd95d6 Next release, tag 1.0.13 2009-09-08 23:00:35 +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) 13527a38e8 Match all punctuation chars in fs partitions and mount points.
With some recent commits we are matching a good number of custom
characters. Instead of waiting for another one that breaks it, just
match all punctuation characters. The regexp is pretty big and some
simplification is also welcomed.
2009-08-27 12:46:08 +02:00
Adrian C. (anrxc) 0ca1fd3cf3 Match punctuation characters in wifi SSID. 2009-08-27 12:43:12 +02:00
Adrian C. (anrxc) cb36f742de Next release, tag 1.0.12. 2009-08-27 04:01:44 +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
Adrian C. (anrxc) 2cc4e9701c Removed deprecated data field. 2009-08-27 01:04:47 +02:00