Merge pull request #24 from walken/patch-2

Update README.md
This commit is contained in:
Jörg Thalheim 2017-01-12 22:11:12 +01:00 committed by GitHub
commit cbee482088
1 changed files with 1 additions and 1 deletions

View File

@ -521,7 +521,7 @@ argument
cpuwidget:set_width(50) cpuwidget:set_width(50)
cpuwidget:set_background_color("#494B4F") cpuwidget:set_background_color("#494B4F")
cpuwidget:set_color({ type = "linear", from = { 0, 0 }, to = { 50, 0 }, cpuwidget:set_color({ type = "linear", from = { 0, 0 }, to = { 50, 0 },
stops = { { 0, "#FF5656" }, { 0.5, "#88A175" }, { 1, "#AECF96" }}) stops = { { 0, "#FF5656" }, { 0.5, "#88A175" }, { 1, "#AECF96" }}})
vicious.register(cpuwidget, vicious.widgets.cpu, "$1", 3) vicious.register(cpuwidget, vicious.widgets.cpu, "$1", 3)
``` ```
updated every 3 seconds, feeds the graph with total usage updated every 3 seconds, feeds the graph with total usage