greshake / i3status-rust

Very resourcefriendly and feature-rich replacement for i3status, written in pure Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Net Block placeholder issue

kagaroth opened this issue · comments

I don't know what , when or how this happened but the net block refuses to pick up L3 information from point to point interfaces. It used to work, hell, 3 days ago it was fine, but now if I use eth0 and a router all is a okay with this block but if I pull the router out the equation and just use the PPPoE connection on my laptop then I have a wonderful "NetIFs error" where the net block should be. So I just looked around and I see that it shows the IPv6LL of my eth0 instead of ppp0 so that is the reason why it gives an error because there is no IP on eth0 since I have a PPPoE connection.
Can something be done to solve this issue or I have to look, once again, for another app to replace i3status-rust? The net and weather block of i3status-rust are what made me use it for a few years now so I would like to keep using it if I can.
My net block definition:

[[block]]
block = "net"
format_alt = " {$ssid $signal_strength ($frequency)|Wired connection} via $device "
interval = 1
missing_format = " $icon $device "
error_format=" NetIFs error "
#if_command="ping -c1 -i.2 -4 -w1 google.com > /dev/null 2>&1"
[block.format]
full = " $ip {$ipv6|} "
#full = " $ip {$ipv6|} ^icon_net_down$speed_down.eng(w:4,u:b) ^icon_net_up $speed_up.eng(w:4,u:b) "
short = " ^icon_net_down $speed_down.eng(w:4,u:b) ^icon_net_up $speed_up.eng(w:4,u:b) "
[block.theme_overrides]