diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2014-12-07 15:14:02 +0100 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2014-12-07 15:17:31 +0100 |
commit | b219f47f394e536198997578e4cce3c539b84b6d (patch) | |
tree | 91e7a6b489ed3dbbfc70a07b0ffa86a03512a4a4 /man | |
parent | 7bdfb5b72e730f2131dccd75f211aaa6d2236954 (diff) |
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).
Diffstat (limited to 'man')
-rw-r--r-- | man/i3status.man | 6 |
1 files changed, 6 insertions, 0 deletions
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)+ |