* joshua stein <j...@openbsd.org> wrote:
> On Tue, 17 Jul 2018 at 21:42:46 -0400, Jon Bernard wrote:
> > Hi ports,
> > 
> > Here's a small patch to i3status to report wireless signal quality.  If
> > you're using the default configuration, you should see the '?' change to
> > the current signal quality percentage.
> > 
> > If this looks good I'll submit it upstream.
> > 
> > OK?
> 
> I'm already getting wireless signal quality with i3status, is this 
> not the same thing?  My i3status.conf has:
> 
>     wireless iwm0 {
>         format_up = "up|%signal|%essid"
>         format_down = "down"
>     }
> 
> which reports:
> 
>     [{"name":"wireless","instance":"iwm0","markup":"none","full_text":"up| 
> 76%|xxx"},...

I think you're right.  I thought signal was the raw value but it appears
that i3status computes the percentage for %signal based on the max.  The
manpage doesn't even mention the signal field so that's fun.  Thanks for
looking at this, sorry for the noise.

-- 
Jon

Reply via email to