Fixed README and moved the ChangeLog to CHANGES.

This commit is contained in:
Adrian C. (anrxc) 2009-07-30 17:15:21 +02:00
parent 2ab90dec97
commit 51770fe3e5
2 changed files with 5 additions and 4 deletions

View File

9
README
View File

@ -12,12 +12,13 @@ widgets. You can read more about why and how it was written, here:
Usage Usage
----- -----
To use vicious, edit init.lua and comment out all the widgets you To use vicious, copy it to the ~/.config/awesome directory and edit
don't need, from the "Configure widgets" list. Then add: init.lua to comment out all the widgets you don't need, from the
"Configure widgets" list. Then add:
require("vicious") 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 textbox, graph or a progressbar) call vicious.register() to register
it with vicious: it with vicious:
@ -219,7 +220,7 @@ File system widget
Battery widget Battery widget
batwidget = widget({type = 'progressbar',name = 'batwidget'}) batwidget = widget({type = 'progressbar',name = 'batwidget'})
-- configure the progressbar and bar properties, then register with: -- 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, - executed every 60 seconds, feeds the "batwidget" progressbar,
provides "BAT0" battery ID as an argument provides "BAT0" battery ID as an argument