Commit Graph

211 Commits

Author SHA1 Message Date
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