feat(net): add {linkSpeed} format replacement

Adds an ethernet link speed ({linkSpeed}) read from
/sys/class/net/<iface>/speed, plus a skip-decimal option on pow_format
to drop a trailing .0. Rebased onto master's store-based network
formatting; existing compact bandwidth args updated for the new
pow_format signature.
This commit is contained in:
Piotr Wegrzyn
2026-07-04 01:54:30 +02:00
committed by Alexays
parent 237d6c7c7b
commit 810a8c0f94
4 changed files with 43 additions and 11 deletions
+2
View File
@@ -200,6 +200,8 @@ Addressed by *network*
*{rx_bitrate}*: Link receive bitrate (e.g., 866.7 Mb/s).
*{linkSpeed}*: Ethernet link speed.
*{icon}*: Icon, as defined in *format-icons*.
# EXAMPLES