Open kevenwyld opened 1 year ago
Huh, this must be because we special-case vpn interfaces to always report "up", which was the case since the initial vpn support (#350)... https://github.com/greshake/i3status-rust/blob/2186e7bd32282af5fa54522e52ec9faa7f4fffae/src/netlink.rs#L103-L108
I wonder if this hack can be removed since we have eed699a.
I'm not sure if this is intentional or not however
inactive_format
seems not to be used when the interface is down. In my case I have a vpn which I turn on and off as needed. It is defined as the following block:If the state of the adapter is down:
i3status-rs reports:
This also seems to cause some issues with the
$ip
placeholder which reportsFailed to render full text (Cause: Placeholder 'ip' not found)
Everything works fine if I bring the vpn up though.