Commit Graph

184 Commits

Author SHA1 Message Date
Adrian C. (anrxc) 3fe67d4311 Coding style changes in entropy, load, thermal, uptime. 2009-08-03 04:33:18 +02:00
Adrian C. (anrxc) 09fda0ab05 Rewrite of the escape helper.
It is simillar to the awful.util.escape now, using a table which we
could expand (and rename) with other unwated characters if it comes to
that. I saw awesome break on many occasions because of encoding
problems.
2009-08-03 04:29:06 +02:00
Adrian C. (anrxc) 047dba0e5d Next release, version/tag 1.0.5. 2009-08-01 23:15:09 +02:00
Adrian C. (anrxc) cad950a838 Updated the CHANGES file in preparation for tag v1.0.5. 2009-08-01 23:13:29 +02:00
Adrian C. (anrxc) 418151f57e Make all widgets return their worker functions when called. 2009-08-01 23:11:41 +02:00
Adrian C. (anrxc) 1630b786d4 Added wind speed in km/h to the weather widget. 2009-08-01 06:20:31 +02:00
Adrian C. (anrxc) f841c540d4 Updated the CHANGES file. 2009-07-31 21:53:58 +02:00
Adrian C. (anrxc) 3f851ff589 Added a note about weather symbols to the weather widget. 2009-07-31 21:53:14 +02:00
Adrian C. (anrxc) 1b9906165d Use utf symbols for some bat states. Mention LuaFileSystem in mdir.lua 2009-07-31 20:40:36 +02:00
Adrian C. (anrxc) f00558cb96 Next release, version 1.0.4. 2009-07-31 08:00:07 +02:00
Adrian C. (anrxc) 475da04ed1 Mbox mail count widget included.
The, mboxc, widget supplements the mbox widget. The mbox widget
returns the subject of the last e-mail in a mbox, while the mboxc
widget returns the count of total, old and new messages. Dealing with
potentially *HUGE* files is not easy, I tried to find some middle
ground for now, comments in the file discuss it in detail. Having the
LuaFileSystem lib would be nice, so we could do caching and avoid 90%
of the reads, but I didn't rely on external libraries to this point so
I'm not going to start now.
2009-07-31 07:49:28 +02:00
Adrian C. (anrxc) dad393b94b Updated the CHANGES file. 2009-07-30 20:47:32 +02:00
Adrian C. (anrxc) bc637062d7 Coding style fixes in battery widgets. 2009-07-30 20:47:02 +02:00
Adrian C. (anrxc) 052748a2cb Fix the key reference to custom keys in the README 2009-07-30 20:33:54 +02:00
Adrian C. (anrxc) 9c973a5a74 Updated the CHANGES file. 2009-07-30 17:36:21 +02:00
Adrian C. (anrxc) 51770fe3e5 Fixed README and moved the ChangeLog to CHANGES. 2009-07-30 17:15:21 +02:00
Adrian C. (anrxc) 2ab90dec97 Updated the ChangeLog file, for v1.0.3. 2009-07-30 04:50:30 +02:00
Adrian C. (anrxc) 0471c6a7de Next release, version 1.0.3. 2009-07-30 04:49:22 +02:00
Adrian C. (anrxc) a8dc5c6f6d Added basic documentation as a README file.
The README explains some basics. Also fixed a typo in the dio
widget description, that I noticed while writing documentation.
2009-07-30 04:44:22 +02:00
Adrian C. (anrxc) b06a5b6e15 Make git ignore org-mode files and archives. 2009-07-30 02:57:51 +02:00
Adrian C. (anrxc) 87d895f818 Next release, version 1.0.2. 2009-07-30 02:11:54 +02:00
Adrian C. (anrxc) 5ff480ddf3 Updated the ChangeLog file in preparation for a new version. 2009-07-30 02:08:46 +02:00
Adrian C. (anrxc) 2921200d0f Added handlers to batat and fixed the battery_state table.
Batat now returns "/" in situations where the battery is not
present. Last commit broke the battery_state table, fixed that.
2009-07-30 02:05:22 +02:00
Adrian C. (anrxc) e2d503ee36 Added a new, standalone, battery widget.
The widget reads /proc/acpi/battery/*/{info,state} and doesn't require
an external utility like 'acpi' or 'acpitool'. It returns state,
charge and remaining time information, just like the old bat (now
batat) widget. Using /sys/class/power_supply we would need to open
much more file descriptors so we use /proc for now.
2009-07-30 01:48:07 +02:00
Adrian C. (anrxc) 19ca7b5a03 Replaced TODO with Todo in helpers. 2009-07-29 23:40:50 +02:00
Adrian C. (anrxc) 9cd250be0b Fixed batat module name and expanded bat states and symbols. 2009-07-29 23:13:24 +02:00
Adrian C. (anrxc) b331cb1570 Updated the ChangeLog file. 2009-07-29 22:22:17 +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) 9da374da4d Updated the ChangeLog file. 2009-07-29 20:51:56 +02:00
Adrian C. (anrxc) 1f31527e89 Next release, version 1.0.1. 2009-07-29 20:13:40 +02:00
Adrian C. (anrxc) 11baa09ab2 Added the ChangeLog file. 2009-07-29 20:12:34 +02:00
Adrian C. (anrxc) 3eefddf8ab Weather widget written and included, by request.
The widget uses 'wget' to grab the information. The Lua socket library
would be nicer, of course, but let's not introduce external libraries
at this point. Wget will write to stdout with a timeout of 5s. This
has the potential to block everything else in case of problems... But
let's not introduce temporary files at this point. Besides having to
handle files, operations while running on battery power are to be
avoided.
2009-07-29 18:46:43 +02:00
Adrian C. (anrxc) 95dd8de34d Make git ignore backup files and lua binaries. 2009-07-29 18:06:19 +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