|
NAMEwaybar - network moduleDESCRIPTIONThe network module displays information about the current network connections.CONFIGURATIONAddressed by networkinterface:
interval:
family:
format:
format-ethernet:
format-wifi:
format-linked:
format-disconnected:
format-disabled:
format-icons:
rotate:
max-length:
min-length: typeof: integer The minimum length in characters the module should take up. align: typeof: float The alignment of the text, where 0 is left-aligned and 1 is right-aligned. If the module is rotated, it will follow the flow of the text. on-click:
on-click-middle:
on-click-right:
on-update:
on-scroll-up:
on-scroll-down:
smooth-scrolling-threshold:
tooltip:
tooltip-format:
tooltip-format-ethernet:
tooltip-format-wifi:
tooltip-format-disconnected:
tooltip-format-disabled:
FORMAT REPLACEMENTS{ifname}: Name of the network interface.{ipaddr}: The first IP of the interface. {gwaddr}: The default gateway for the interface {netmask}: The subnetmask corresponding to the IP. {cidr}: The subnetmask corresponding to the IP in CIDR notation. {essid}: Name (SSID) of the wireless network. {signalStrength}: Signal strength of the wireless network. {signaldBm}: Signal strength of the wireless network in dBm. {frequency}: Frequency of the wireless network in MHz. {bandwidthUpBits}: Instant up speed in bits/seconds. {bandwidthDownBits}: Instant down speed in bits/seconds. {bandwidthUpOctets}: Instant up speed in octets/seconds. {bandwidthDownOctets}: Instant down speed in octets/seconds. {icon}: Icon, as defined in format-icons. EXAMPLES"network": { "interface": "wlp2s0", "format": "{ifname}", "format-wifi": "{essid} ({signalStrength}%) ", "format-ethernet": "{ifname} ", "format-disconnected": "", //An empty format will hide the module. "format-disconnected": "", "tooltip-format": "{ifname}", "tooltip-format-wifi": "{essid} ({signalStrength}%) ", "tooltip-format-ethernet": "{ifname} ", "tooltip-format-disconnected": "Disconnected", "max-length": 50 } STYLE•#network
•#network.disconnected
•#network.disabled
•#network.linked
•#network.ethernet
•#network.wifi
Visit the GSP FreeBSD Man Page Interface. |