I3status-rust: Show also IPv6

Created on 15 Aug 2018  路  4Comments  路  Source: greshake/i3status-rust

Currently, only the IPv4 is shown if available. I would also like to see the IPv6 if the interface has one.

enhancement help wanted

Most helpful comment

I'm wondering if net should be refactored to support templating instead of a ton of booleans?

All 4 comments

This sounds like a nice addition. Would you want it to show both? We could have a new configuration option along the lines of the following:

[[block]]
block = "net"
show_ip = "ipv4" # Default
show_ip = "ipv6" 
show_ip = "both"

I would have imagined it more like

[[block]]
block = "net"
show_ipv4 = "true" # Default
show_ipv6 = "true" 

And yes, I'd like it to show both.

I'm wondering if net should be refactored to support templating instead of a ton of booleans?

@jedahan That would be nice. Are you up for the challenge?

In the meantime I added ipv6 as another bool option via #647.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Thra11 picture Thra11  路  6Comments

yawpitch picture yawpitch  路  4Comments

fedario picture fedario  路  7Comments

jpeeler picture jpeeler  路  5Comments

l4l picture l4l  路  6Comments