diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-10-08 00:45:04 +0200 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-10-08 00:45:04 +0200 |
commit | 8f73ed8c4f34c77c35798de91e43aeb37f2ed31c (patch) | |
tree | ba4bfd14bff483567a84361ee3de6d1116e926fb | |
parent | 65fad903d5a4650dfc5b86eb2f9a1167d34163de (diff) | |
download | awesome-configs-8f73ed8c4f34c77c35798de91e43aeb37f2ed31c.tar.xz |
rc.lua: fix drawing low values in cpu graph
-rw-r--r-- | rc.lua | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -47,7 +47,7 @@ layouts = { -- {{{ Tags tags = {} tags.settings = { - { name = "term", layout = layouts[2] }, + { name = "term", layout = layouts[3] }, { name = "emacs", layout = layouts[1] }, { name = "web", layout = layouts[1] }, { name = "mail", layout = layouts[5] }, @@ -92,10 +92,9 @@ thermalwidget = widget({ type = "textbox", name = "thermalwidget" }) cpuwidget = awful.widget.graph({ layout = awful.widget.layout.horizontal.rightleft }) -- Graph properties cpuwidget:set_width(50) -cpuwidget:set_scale(false) +cpuwidget:set_height(14) cpuwidget:set_max_value(100) cpuwidget:set_background_color(beautiful.fg_off_widget) -cpuwidget:set_border_color(beautiful.border_widget) cpuwidget:set_color(beautiful.fg_end_widget) cpuwidget:set_gradient_colors({ beautiful.fg_end_widget, |