Hello.

I am planning to have a progressbar that would display wireless signal
strength. This is what I thought work:

wifiwidget = widget({ type = "textbox" })
vicious.register(wifiwidget, vicious.widgets.wifi, "${link}", 7, "eth1")

wifibar = awful.widget.progressbar()
wifibar:set_width(8)
wifibar:set_height(20)
wifibar:set_vertical(true)
wifibar:set_background_color("#000000")
wifibar:set_color("#FF00FF")
wifibar:set_max_value(5)
wifibar:set_ticks(true)

vicious.register(wifibar, vicious.widgets.wifi, "${link}", 11, "eth1")

But the progressbar is always empty. I added the textbox part to check if
it's working and it's fine. I also tried removing the max value and ticks
parts so that the declaration is like other, working progressbars, but with
no avail. What's the problem here?

Reply via email to