aboutsummaryrefslogtreecommitdiff
path: root/bat.lua
AgeCommit message (Collapse)AuthorFiles
2009-09-14General cleanupAdrian C. (anrxc)1
2009-08-07All worker functions are local.Adrian C. (anrxc)1
2009-08-01Make all widgets return their worker functions when called.Adrian C. (anrxc)1
2009-07-31Use utf symbols for some bat states. Mention LuaFileSystem in mdir.luaAdrian C. (anrxc)1
2009-07-30Coding style fixes in battery widgets.Adrian C. (anrxc)1
2009-07-30Added a new, standalone, battery widget.Adrian C. (anrxc)1
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-29Battery widget moved to batat.lua in preparation for a new bat widget.Adrian C. (anrxc)1
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-29Import of vicious source tree.v1.0.0Adrian C. (anrxc)1
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