]> git.sur5r.net Git - i3/i3status/commit
i3status: Support %frequency for wireless interfaces
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Mon, 1 Dec 2014 16:30:30 +0000 (18:30 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 3 Dec 2014 07:14:21 +0000 (08:14 +0100)
commit7bdfb5b72e730f2131dccd75f211aaa6d2236954
tree3d24ea20a3ca3919c41fc8d24f63e74bac0298ce
parentf817e3b4c085a13d876968af499973b4349ef4f6
i3status: Support %frequency for wireless interfaces

In many public WiFis, the 2.4 GHz wireless band is slow due to
congestion, while there is still plenty of bandwidth available on the
5 GHz area. So when debugging wireless issues it's convenient to have
i3status display the frequency of the access point that the interface is
connected to.

This patch adds support for the %frequency tag for wireless interfaces,
so for example:
    format_up = "WLAN: %essid - %quality / %frequency"
would result in:
    "WLAN: eduroam - 074% / 2.4 GHz"
man/i3status.man
src/print_wireless_info.c