I am new to i3 and would like to inquire if anyone knows how to show the combined traffic in Mbit/s running through (in and out) all network interfaces (ETH or WLAN) in real-time in the status bar?
I would like to do it via the config file if possible.
Load. Gets the system load (number of processes waiting for CPU time in the last 1, 5 and 15 minutes). It is possible to define a max_threshold that will color the load value red in case the load average of the last minute is getting higher than the configured threshold. Defaults to 5.
The default location is $XDG_CONFIG_HOME/i3status-rust/config.
You can use i3pystatus instead of plain i3status. It has a module for network and showing the metric, below is the relevant doc:
https://i3pystatus.readthedocs.io/en/latest/configuration.html#internet-connectivity
An example config with what you want is here: https://i3pystatus.readthedocs.io/en/latest/configuration.html
By changing format_up
you can change which metric is shown.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With