2 May 2011 10:16
Re: Progressbar problems
Adrian C. <anrxc <at> sysphere.org>
2011-05-02 08:16:20 GMT
2011-05-02 08:16:20 GMT
On Sun, 1 May 2011, Jeremy Wasteland wrote:
> wifibar:set_max_value(5)
>
> vicious.register(wifibar, vicious.widgets.wifi, "${link}", 11, "eth1")
Link only goes up to 70 (up to 50 in your case?). Also default max value
is 1. So vicious by default does link / 100 to accomodate that. Get rid
of the set_max_value, and use ${linp} instead of link for a nicer
presentation of the signal. Do not forget to use wifibar.widget when
adding that widget to the wibox.
--
--
Adrian C. (anrxc) | anrxc..sysphere.org | PGP ID: D20A0618
PGP FP: 02A5 628A D8EE 2A93 996E 929F D5CB 31B7 D20A 0618
RSS Feed