summaryrefslogtreecommitdiff
path: root/i3status.conf
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2014-12-07 15:14:02 +0100
committerMichael Stapelberg <michael@stapelberg.de>2014-12-07 15:17:31 +0100
commitb219f47f394e536198997578e4cce3c539b84b6d (patch)
tree91e7a6b489ed3dbbfc70a07b0ffa86a03512a4a4 /i3status.conf
parent7bdfb5b72e730f2131dccd75f211aaa6d2236954 (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 'i3status.conf')
-rw-r--r--i3status.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/i3status.conf b/i3status.conf
index 01c182c..7052e23 100644
--- a/i3status.conf
+++ b/i3status.conf
@@ -15,18 +15,18 @@ order += "ipv6"
order += "disk /"
order += "run_watch DHCP"
order += "run_watch VPN"
-order += "wireless wlan0"
-order += "ethernet eth0"
+order += "wireless _first_"
+order += "ethernet _first_"
order += "battery 0"
order += "load"
order += "tztime local"
-wireless wlan0 {
+wireless _first_ {
format_up = "W: (%quality at %essid) %ip"
format_down = "W: down"
}
-ethernet eth0 {
+ethernet _first_ {
# if you use %speed, i3status requires root privileges
format_up = "E: %ip (%speed)"
format_down = "E: down"