SFWBAR-NETWORK(1)
π sfwbar-network β the network module, bestie
okay so this is sfwbar-network, a manual page from the General Commands Manual, and it's the module that keeps an eye on your network. β¨
- Filename:
network.so - Requires: none π
π SYNOPSIS
The network module tracks the state of the current network connection. that's it, that's the whole vibe β it watches your connection and tells you what's up. π¦
β¨ EXPRESSION FUNCTIONS β¨
NetInfo(Query[,Interface])
Function NetInfo queries the parameter of the connection on the network interface specified. If Interface is not specified, NetInfo will query the interface of the default gateway (if one exists). π«Ά
The queries supported are:
"ip"β IP address of the interface. π"mask"β Net mask of the interface."cidr"β Net mask in the CIDR notation."gateway"β The default gateway (not necessarily associated with the interface). lowkey important: it's not necessarily tied to that interface."ip6"β IPv6 IP address of the interface."mask6"β IPv6 netmask of the interface."gateway6"β The default IPv6 gateway."essid"β ESSID of the wireless connection (if applicable for the interface). πΆ
NetInfo returns a string value. periodt.
NetStat(Query[,Interface])
Function NetStat queries statistics of the interface. If the interface isn't specified, it will be applied to the interface of the default gateway. πΈ
The queries supported are:
"rxrate"β Receive data rate on the interface (in bps). π₯"txrate"β Transmit data rate on the interface (in bps). π₯"signal"β Signal strength of the wifi connection (if applicable).
NetState returns a numeric value.
π ACTIONS
None. literally nothing here, no actions, we move. π
π TRIGGERS
The module defines one trigger "network" which is emitted whenever the interface data is changes (i.e. ip, netmask, default gateway, wifi essid). π
so like, the moment your interface data shifts β ip, netmask, default gateway, wifi essid β boom, "network" fires. main character energy fr fr. β
π COPYRIGHT
GPLv3+
and that's the whole page bestie π β this was sfwbar-network(1) from the General Commands Manual, and the page signs off as SFWBAR-NETWORK(1). go touch some grass, or don't, i'm not your mom π§
π¦ where this page comes from
- fedora 43: sfwbar 1.0~beta16.1-2.fc43 Β· GPL-3.0-only AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms