diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-07-30 17:15:21 +0200 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-07-30 17:15:21 +0200 |
commit | 51770fe3e5fa03e0bf49a8d062d98fd11707766e (patch) | |
tree | 510a33e21511e88f40bb809b8400b24847eb3586 /README | |
parent | 2ab90dec9764f0aa496fa6dbde8b81d70a0fc717 (diff) | |
download | vicious-legacy-51770fe3e5fa03e0bf49a8d062d98fd11707766e.tar.xz |
Fixed README and moved the ChangeLog to CHANGES.
Diffstat (limited to 'README')
-rw-r--r-- | README | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 |