From 51770fe3e5fa03e0bf49a8d062d98fd11707766e Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Thu, 30 Jul 2009 17:15:21 +0200 Subject: Fixed README and moved the ChangeLog to CHANGES. --- CHANGES | 146 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ChangeLog | 146 -------------------------------------------------------------- README | 9 ++-- 3 files changed, 151 insertions(+), 150 deletions(-) create mode 100644 CHANGES delete mode 100644 ChangeLog diff --git a/CHANGES b/CHANGES new file mode 100644 index 0000000..7a329c3 --- /dev/null +++ b/CHANGES @@ -0,0 +1,146 @@ +commit 0471c6a7dedf067857a2d30a818ff80bc8398da0 +Author: Adrian C. (anrxc) +Date: Thu Jul 30 04:49:22 2009 +0200 + + Next release, version 1.0.3. + +commit a8dc5c6f6d2f8572f7a7a5458ab969defdb47ded +Author: Adrian C. (anrxc) +Date: Thu Jul 30 04:44:22 2009 +0200 + + 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. + +commit b06a5b6e15953d05405d3831c1008a10b6b779f2 +Author: Adrian C. (anrxc) +Date: Thu Jul 30 02:57:51 2009 +0200 + + Make git ignore org-mode files and archives. + +commit 87d895f81824f289e52004d9696fd152f92a514a +Author: Adrian C. (anrxc) +Date: Thu Jul 30 02:11:54 2009 +0200 + + Next release, version 1.0.2. + +commit 5ff480ddf3146ceaf98ea71563a6b66e0106b312 +Author: Adrian C. (anrxc) +Date: Thu Jul 30 02:08:46 2009 +0200 + + Updated the ChangeLog file in preparation for a new version. + +commit 2921200d0f1dbf36ae885d0898849a31e646f372 +Author: Adrian C. (anrxc) +Date: Thu Jul 30 02:05:22 2009 +0200 + + 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. + +commit e2d503ee36d0e3f0d20f7f888ab03caac68c32bb +Author: Adrian C. (anrxc) +Date: Thu Jul 30 01:48:07 2009 +0200 + + 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. + +commit 19ca7b5a038508179b2e195d223ecaa2299f14a1 +Author: Adrian C. (anrxc) +Date: Wed Jul 29 23:40:50 2009 +0200 + + Replaced TODO with Todo in helpers. + +commit 9cd250be0b046cf4692df077e9e1db1d050345d0 +Author: Adrian C. (anrxc) +Date: Wed Jul 29 23:13:24 2009 +0200 + + Fixed batat module name and expanded bat states and symbols. + +commit b331cb15707055190d2485ad492eabda6cece03b +Author: Adrian C. (anrxc) +Date: Wed Jul 29 22:22:17 2009 +0200 + + Updated the ChangeLog file. + +commit 76b8978ef2d75ba8930ef263afb4a2d583c629c4 +Author: Adrian C. (anrxc) +Date: Wed Jul 29 22:20:32 2009 +0200 + + 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 + +commit 9da374da4dbb53af6f01638410f3e2b8bd3763a7 +Author: Adrian C. (anrxc) +Date: Wed Jul 29 20:51:56 2009 +0200 + + Updated the ChangeLog file. + +commit 1f31527e8964dbf6407495370ceca37553c2f56f +Author: Adrian C. (anrxc) +Date: Wed Jul 29 20:13:40 2009 +0200 + + Next release, version 1.0.1. + +commit 11baa09ab240e604929c0375cc9345e18e54d744 +Author: Adrian C. (anrxc) +Date: Wed Jul 29 20:12:34 2009 +0200 + + Added the ChangeLog file. + +commit 3eefddf8ab4ef32f2db34c4769609322063c6bb5 +Author: Adrian C. (anrxc) +Date: Wed Jul 29 18:46:43 2009 +0200 + + 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. + +commit 95dd8de34d404e10a05169e381f382881097af89 +Author: Adrian C. (anrxc) +Date: Wed Jul 29 18:06:19 2009 +0200 + + Make git ignore backup files and lua binaries. + +commit 98e26ee0436822b00d4a6e707d86cf33d24bc00f +Author: Adrian C. (anrxc) +Date: Wed Jul 29 17:59:32 2009 +0200 + + 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 diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index 7a329c3..0000000 --- a/ChangeLog +++ /dev/null @@ -1,146 +0,0 @@ -commit 0471c6a7dedf067857a2d30a818ff80bc8398da0 -Author: Adrian C. (anrxc) -Date: Thu Jul 30 04:49:22 2009 +0200 - - Next release, version 1.0.3. - -commit a8dc5c6f6d2f8572f7a7a5458ab969defdb47ded -Author: Adrian C. (anrxc) -Date: Thu Jul 30 04:44:22 2009 +0200 - - 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. - -commit b06a5b6e15953d05405d3831c1008a10b6b779f2 -Author: Adrian C. (anrxc) -Date: Thu Jul 30 02:57:51 2009 +0200 - - Make git ignore org-mode files and archives. - -commit 87d895f81824f289e52004d9696fd152f92a514a -Author: Adrian C. (anrxc) -Date: Thu Jul 30 02:11:54 2009 +0200 - - Next release, version 1.0.2. - -commit 5ff480ddf3146ceaf98ea71563a6b66e0106b312 -Author: Adrian C. (anrxc) -Date: Thu Jul 30 02:08:46 2009 +0200 - - Updated the ChangeLog file in preparation for a new version. - -commit 2921200d0f1dbf36ae885d0898849a31e646f372 -Author: Adrian C. (anrxc) -Date: Thu Jul 30 02:05:22 2009 +0200 - - 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. - -commit e2d503ee36d0e3f0d20f7f888ab03caac68c32bb -Author: Adrian C. (anrxc) -Date: Thu Jul 30 01:48:07 2009 +0200 - - 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. - -commit 19ca7b5a038508179b2e195d223ecaa2299f14a1 -Author: Adrian C. (anrxc) -Date: Wed Jul 29 23:40:50 2009 +0200 - - Replaced TODO with Todo in helpers. - -commit 9cd250be0b046cf4692df077e9e1db1d050345d0 -Author: Adrian C. (anrxc) -Date: Wed Jul 29 23:13:24 2009 +0200 - - Fixed batat module name and expanded bat states and symbols. - -commit b331cb15707055190d2485ad492eabda6cece03b -Author: Adrian C. (anrxc) -Date: Wed Jul 29 22:22:17 2009 +0200 - - Updated the ChangeLog file. - -commit 76b8978ef2d75ba8930ef263afb4a2d583c629c4 -Author: Adrian C. (anrxc) -Date: Wed Jul 29 22:20:32 2009 +0200 - - 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 - -commit 9da374da4dbb53af6f01638410f3e2b8bd3763a7 -Author: Adrian C. (anrxc) -Date: Wed Jul 29 20:51:56 2009 +0200 - - Updated the ChangeLog file. - -commit 1f31527e8964dbf6407495370ceca37553c2f56f -Author: Adrian C. (anrxc) -Date: Wed Jul 29 20:13:40 2009 +0200 - - Next release, version 1.0.1. - -commit 11baa09ab240e604929c0375cc9345e18e54d744 -Author: Adrian C. (anrxc) -Date: Wed Jul 29 20:12:34 2009 +0200 - - Added the ChangeLog file. - -commit 3eefddf8ab4ef32f2db34c4769609322063c6bb5 -Author: Adrian C. (anrxc) -Date: Wed Jul 29 18:46:43 2009 +0200 - - 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. - -commit 95dd8de34d404e10a05169e381f382881097af89 -Author: Adrian C. (anrxc) -Date: Wed Jul 29 18:06:19 2009 +0200 - - Make git ignore backup files and lua binaries. - -commit 98e26ee0436822b00d4a6e707d86cf33d24bc00f -Author: Adrian C. (anrxc) -Date: Wed Jul 29 17:59:32 2009 +0200 - - 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 diff --git a/README b/README index a3e081c..8ccece2 100644 --- a/README +++ b/README @@ -12,12 +12,13 @@ widgets. You can read more about why and how it was written, here: Usage ----- -To use vicious, edit init.lua and comment out all the widgets you -don't need, from the "Configure widgets" list. Then add: +To use vicious, copy it to the ~/.config/awesome directory and edit +init.lua to comment out all the widgets you don't need, from the +"Configure widgets" list. Then add: require("vicious") -... to the top of your rc.lua. Once you create a widget (as a: +...to the top of your rc.lua. Once you create a widget (as a: textbox, graph or a progressbar) call vicious.register() to register it with vicious: @@ -219,7 +220,7 @@ File system widget Battery widget batwidget = widget({type = 'progressbar',name = 'batwidget'}) -- configure the progressbar and bar properties, then register with: - vicious.register(batwidget,vicious.widgets.bat,'$1',60,fswidget,'BAT0') + vicious.register(batwidget,vicious.widgets.bat,'$2',60,batwidget,'BAT0') - executed every 60 seconds, feeds the "batwidget" progressbar, provides "BAT0" battery ID as an argument -- cgit v1.2.3