.\" Generated by scdoc 1.11.2 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "waybar-network" "5" "2023-02-28" .P .SH NAME .P waybar - network module .P .SH DESCRIPTION .P The \fBnetwork\fR module displays information about the current network connections.\& .P .SH CONFIGURATION .P Addressed by \fBnetwork\fR .P \fBinterface\fR: .br typeof: string .br Use the defined interface instead of auto detection.\& Accepts wildcard.\& .P \fBinterval\fR: .br typeof: integer .br default: 60 .br The interval in which the network information gets polled (e.\&g.\& signal strength).\& .P \fBfamily\fR: .br typeof: string .br default: \fBipv4\fR .br The address family that is used for the format replacement {ipaddr} and to determine if a network connection is present.\& .P \fBformat\fR: .br typeof: string .br default: \fB{ifname}\fR .br The format, how information should be displayed.\& This format is used when other formats aren'\&t specified.\& .P \fBformat-ethernet\fR: .br typeof: string .br This format is used when an ethernet interface is displayed.\& .P \fBformat-wifi\fR: .br typeof: string .br This format is used when a wireless interface is displayed.\& .P \fBformat-linked\fR: .br typeof: string .br This format is used when a linked interface with no ip address is displayed.\& .P \fBformat-disconnected\fR: .br typeof: string .br This format is used when the displayed interface is disconnected.\& .P \fBformat-disabled\fR: .br typeof: string .br This format is used when the displayed interface is disabled.\& .P \fBformat-icons\fR: .br typeof: array/object .br Based on the current signal strength, the corresponding icon gets selected.\& .br The order is \fBlow\fR to \fBhigh\fR.\& Or by the state if it is an object.\& .P \fBrotate\fR: .br typeof: integer .br Positive value to rotate the text label.\& .P \fBmax-length\fR: .br typeof: integer .br The maximum length in character the module should display.\& .P \fBmin-length\fR: .br typeof: integer .br The minimum length in characters the module should take up.\& .P \fBalign\fR: .br typeof: float .br 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.\& .P \fBon-click\fR: .br typeof: string .br Command to execute when clicked on the module.\& .P \fBon-click-middle\fR: .br typeof: string .br Command to execute when middle-clicked on the module using mousewheel.\& .P \fBon-click-right\fR: .br typeof: string .br Command to execute when you right clicked on the module.\& .P \fBon-update\fR: .br typeof: string .br Command to execute when the module is updated.\& .P \fBon-scroll-up\fR: .br typeof: string .br Command to execute when scrolling up on the module.\& .P \fBon-scroll-down\fR: .br typeof: string .br Command to execute when scrolling down on the module.\& .P \fBsmooth-scrolling-threshold\fR: .br typeof: double .br Threshold to be used when scrolling.\& .P \fBtooltip\fR: .br typeof: bool .br default: \fBtrue\fR .br Option to disable tooltip on hover.\& .P \fBtooltip-format\fR: .br typeof: string .br The format, how information should be displayed in the tooltip.\& This format is used when other formats aren'\&t specified.\& .P \fBtooltip-format-ethernet\fR: .br typeof: string .br This format is used when an ethernet interface is displayed.\& .P \fBtooltip-format-wifi\fR: .br typeof: string .br This format is used when a wireless interface is displayed.\& .P \fBtooltip-format-disconnected\fR: .br typeof: string .br This format is used when the displayed interface is disconnected.\& .P \fBtooltip-format-disabled\fR: .br typeof: string .br This format is used when the displayed interface is disabled.\& .P .SH FORMAT REPLACEMENTS .P \fB{ifname}\fR: Name of the network interface.\& .P \fB{ipaddr}\fR: The first IP of the interface.\& .P \fB{gwaddr}\fR: The default gateway for the interface .P \fB{netmask}\fR: The subnetmask corresponding to the IP.\& .P \fB{cidr}\fR: The subnetmask corresponding to the IP in CIDR notation.\& .P \fB{essid}\fR: Name (SSID) of the wireless network.\& .P \fB{signalStrength}\fR: Signal strength of the wireless network.\& .P \fB{signaldBm}\fR: Signal strength of the wireless network in dBm.\& .P \fB{frequency}\fR: Frequency of the wireless network in MHz.\& .P \fB{bandwidthUpBits}\fR: Instant up speed in bits/seconds.\& .P \fB{bandwidthDownBits}\fR: Instant down speed in bits/seconds.\& .P \fB{bandwidthTotalBits}\fR: Instant total speed in bits/seconds.\& .P \fB{bandwidthUpOctets}\fR: Instant up speed in octets/seconds.\& .P \fB{bandwidthDownOctets}\fR: Instant down speed in octets/seconds.\& .P \fB{bandwidthTotalOctets}\fR: Instant total speed in octets/seconds.\& .P \fB{bandwidthUpBytes}\fR: Instant up speed in bytes/seconds.\& .P \fB{bandwidthDownBytes}\fR: Instant down speed in bytes/seconds.\& .P \fB{bandwidthTotalBytes}\fR: Instant total speed in bytes/seconds.\& .P \fB{icon}\fR: Icon, as defined in \fBformat-icons\fR.\& .P .SH EXAMPLES .P .nf .RS 4 "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 } .fi .RE .P .SH STYLE .P .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .IP \(bu 4 .\} \fB#network\fR .RE .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .IP \(bu 4 .\} \fB#network.\&disconnected\fR .RE .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .IP \(bu 4 .\} \fB#network.\&disabled\fR .RE .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .IP \(bu 4 .\} \fB#network.\&linked\fR .RE .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .IP \(bu 4 .\} \fB#network.\ðernet\fR .RE .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .IP \(bu 4 .\} \fB#network.\&wifi\fR .RE