README: missing bracket in `batwidget` example

Added missing bracket and remove one whitespace (it would be more consistent)

Signed-off-by: Julian Volodia <julianvolodia@gmail.com>
This commit is contained in:
Julian Volodia 2015-07-24 14:07:48 +02:00 committed by Jörg Thalheim
parent c43a7daa41
commit 240de45c41
1 changed files with 1 additions and 1 deletions

2
README
View File

@ -439,7 +439,7 @@ Battery widget
batwidget:set_background_color("#494B4F")
batwidget:set_border_color(nil)
batwidget:set_color({ type = "linear", from = { 0, 0 }, to = { 0, 10 },
stops = { { 0, "#AECF96" }, { 0.5, "#88A175" }, { 1, "#FF5656" }})
stops = {{ 0, "#AECF96" }, { 0.5, "#88A175" }, { 1, "#FF5656" }}})
vicious.register(batwidget, vicious.widgets.bat, "$2", 61, "BAT0")
- updated every 61 seconds, requests the current battery charge