yambar-modules-network(5)
π NAME π
network β This module monitors network connection state. You're reading yambar-modules-network(5) from the File Formats Manual, bestie. π
π¦ DESCRIPTION π¦
This module monitors network connection state: disconnected/connected state and MAC/IP addresses. It instantiates the provided content particle for each network interface. β¨
Note, bestie: while the module internally tracks all assigned IPv4/IPv6 addresses, it currently exposes only a single IPv4 and a single IPv6 address per network interface. π«Ά
π TAGS π
Tag city, population: your particles. Here's every tag this module gives you: π
name(string) β Network interface nameindex(int) β Network interface indexcarrier(bool) β True if the interface has CARRIER. That is, if it is physically connected.state(string) β One ofunknown,not present,down,lower layers down,testing,dormantorup. You are probably interested indownandup.mac(string) β MAC addressipv4(string) β IPv4 address assigned to the interface, or""if noneipv6(string) β IPv6 address assigned to the interface, or""if nonessid(string) β SSID the adapter is connected to (Wi-Fi only)signal(int) β Signal strength, in dBm (Wi-Fi only)quality(range) β Quality of the signal, in percent (Wi-Fi only)rx-bitrate(int) β RX bitrate, in bits/stx-bitrate(int) β TX bitrate in bits/sdl-speed(int) β Download speed in bits/sul-speed(int) β Upload speed in bits/s
β¨ CONFIGURATION β¨
Every config knob here is optional (req: no). Set them like the main character you are. π
left-spacing(int, req: no) β Space, in pixels, in the left side of each rendered volumeright-spacing(int, req: no) β Space, in pixels, on the right side of each rendered volumespacing(int, req: no) β Short-hand for setting bothleft-spacingandright-spacingpoll-interval(int, req: no) β Periodically (in milliseconds) update thesignal,quality,rx+tx bitrate, andul+dl speedtags (default=0). Setting it to0disables updates. Cannot be less than250ms.
π EXAMPLES π
Here's the example config, untouched and iconic: π
bar:
left:
- network:
content:
map:
default:
string: {text: "{name}: {state} ({ipv4})"}
conditions:
ipv4 == "":
string: {text: "{name}: {state}"}
π₯ SEE ALSO π₯
Go read these too, bestie:
That's the whole page, bestie. yambar-modules-network(5) β 2024-04-22 β from the File Formats Manual. Stay connected, mwah. ππ
π¦ where this page comes from
- opensuse-leap 16.0: yambar 1.11.0-bp160.1.14 Β· MIT
- opensuse-leap 16.0: yambar 1.11.0-bp160.1.14 Β· MIT
- opensuse-leap 16.0: yambar 1.11.0-bp160.1.14 Β· MIT
- opensuse-leap 16.0: yambar 1.11.0-bp160.1.14 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms