From b219f47f394e536198997578e4cce3c539b84b6d Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 7 Dec 2014 15:14:02 +0100 Subject: support the special interface name _first_ for ethernet/wireless Since we have deterministic device names in Linux, these strings are a much better default in the i3status config than "eth0" and "wlan0" (what we used before). --- man/i3status.man | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'man/i3status.man') diff --git a/man/i3status.man b/man/i3status.man index 06dc4a6..e11aff5 100644 --- a/man/i3status.man +++ b/man/i3status.man @@ -274,6 +274,9 @@ Gets the link quality, frequency and ESSID of the given wireless network interface. You can specify different format strings for the network being connected or not connected. +The special interface name `_first_` will be replaced by the first wireless +network interface found on the system (excluding devices starting with "lo"). + *Example order*: +wireless wlan0+ *Example format*: +W: (%quality at %essid, %bitrate / %frequency) %ip+ @@ -284,6 +287,9 @@ Gets the IP address and (if possible) the link speed of the given ethernet interface. Getting the link speed requires the cap_net_admin capability. Set it using +setcap cap_net_admin=ep $(which i3status)+. +The special interface name `_first_` will be replaced by the first non-wireless +network interface found on the system (excluding devices starting with "lo"). + *Example order*: +ethernet eth0+ *Example format*: +E: %ip (%speed)+ -- cgit v1.2.3