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 99944631c7
commit 59841b30b4
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA
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_background_color("#494B4F")
batwidget:set_border_color(nil) batwidget:set_border_color(nil)
batwidget:set_color({ type = "linear", from = { 0, 0 }, to = { 0, 10 }, 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") vicious.register(batwidget, vicious.widgets.bat, "$2", 61, "BAT0")
- updated every 61 seconds, requests the current battery charge - updated every 61 seconds, requests the current battery charge