Commit Graph

40 Commits

Author SHA1 Message Date
Adrian C. (anrxc) fa40e402a7 init: never pass nil into awful.widget widgets 2010-03-07 21:43:18 +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) 5226d10c27 API: function enable_caching() is now cache() 2010-03-07 00:56:42 +01:00
Adrian C. (anrxc) 91925e601d pkg: pacman moved to generic packages module 2010-02-04 18:36:27 +01:00
Adrian C. (anrxc) 15dd6ea287 vicious: update copyright 2010-01-02 21:21:54 +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) 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) 896df4dd98 De-obfuscate e-mail address 2009-11-04 23:39:38 +01: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) 724366c038 Reworked some variables in entropy, load, mpd, net, init 2009-10-04 00:21:15 +02:00
Adrian C. (anrxc) b0f737ea56 Rewrote all headers 2009-09-29 22:33:19 +02:00
Adrian C. (anrxc) eadf0c93e1 Caching is controlled by users 2009-09-25 21:16:55 +02:00
Adrian C. (anrxc) c9fba4e0d2 Widgets derived from wicked include a notice 2009-09-20 23:16:10 +02:00
Adrian C. (anrxc) 68b30a3cc7 init: Default to 2s timer 2009-09-19 17:31:52 +02:00
Adrian C. (anrxc) 2a5126f4f0 General cleanup 2009-09-14 17:25:23 +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) 2cc4e9701c Removed deprecated data field. 2009-08-27 01:04:47 +02:00
Adrian C. (anrxc) e7c2e2c2a8 Updated graphs and pbars for the upcoming awesome 3.4 2009-08-27 01:04:14 +02:00
Adrian C. (anrxc) 853fafcdd3 Updated timers for the upcoming awesome 3.4 2009-08-27 01:03:51 +02:00
Adrian C. (anrxc) c283edc6cc Updated link to wicked home. 2009-08-25 15:14:40 +02:00
Adrian C. (anrxc) 5e3b953175 Link to wicked and add Joerg as contributor. 2009-08-21 17:09:06 +02:00
Adrian C. (anrxc) 03693e7aa1 Renamed unused loop identifiers to _ 2009-08-08 17:42:28 +02:00
Adrian C. (anrxc) 798036e445 Changed fs widget type description. 2009-08-06 21:59:12 +02:00
Adrian C. (anrxc) 8d59a01cf6 Next release, tag 1.0.8. 2009-08-06 18:21:13 +02:00
Adrian C. (anrxc) cbd9a53fbc Next release, tag 1.0.7. 2009-08-06 02:41:46 +02:00
Adrian C. (anrxc) 4c74de711f Padding removed, along with deprecated helper functions.
If you have any use for it then continue using an older vicious tag,
or keep maintaining it in your local vicious copy.
2009-08-05 21:50:41 +02:00
Adrian C. (anrxc) 2d4efa6893 Minor cleanup in init.lua 2009-08-05 21:19:41 +02:00
Adrian C. (anrxc) 22033bae53 Disallow using a string widget type. 2009-08-05 19:20:32 +02:00
Adrian C. (anrxc) 756215f020 Next release, tag 1.0.6. 2009-08-03 04:43:53 +02:00
Adrian C. (anrxc) 047dba0e5d Next release, version/tag 1.0.5. 2009-08-01 23:15:09 +02:00
Adrian C. (anrxc) f00558cb96 Next release, version 1.0.4. 2009-07-31 08:00:07 +02:00
Adrian C. (anrxc) 0471c6a7de Next release, version 1.0.3. 2009-07-30 04:49:22 +02:00
Adrian C. (anrxc) 87d895f818 Next release, version 1.0.2. 2009-07-30 02:11:54 +02:00
Adrian C. (anrxc) 76b8978ef2 Battery widget moved to batat.lua in preparation for a new bat widget.
It's time for a standalone battery widget that reads
/proc/acpi/battery/*/{info,state} alone. However the old battery
widget that uses 'acpitool' will not be deleted, let it serve as an
alternative widget as a convenience. Some might also prefer it over
reading multiple files in /proc
2009-07-29 22:20:32 +02:00
Adrian C. (anrxc) 1f31527e89 Next release, version 1.0.1. 2009-07-29 20:13:40 +02:00
Adrian C. (anrxc) 98e26ee043 Import of vicious source tree.
Vicious is a modular widget library for 'awesome' window manager,
derived from the 'Wicked' widget library.

Summary of changes:
  * Original wicked code modularized
  * Widgets ported from Wicked:
    - CPU, MEM, FS, NET, Date, Uptime, MPD
      * CPU widget rewritten, uses pattern matching
      * MEM widget rewritten, uses pattern matching
        - Swap widget merged with MEM widget type
      * FS widget rewritten, uses pattern matching
        - Also fixed padding in the process
      * NET widget rewritten, uses pattern matching
      * MPD widget rewritten, a bit more versatile
      * Removed deprecated helper functions
  * Widgets written for Vicious:
    - Thermal, Battery, Mbox, OrgMode, Volume, Entropy,
      Disk I/O, System Load, Wireless, Pacman, Maildir
2009-07-29 17:59:32 +02:00