|
@@ -125,7 +125,8 @@ status.register(Ping,
|
125
|
125
|
color=g_color_good,
|
126
|
126
|
color_down=g_color_alert,
|
127
|
127
|
format="\uf07d {ping:03.0f} ms",
|
128
|
|
- format_down="\uf07d 000 ms")
|
|
128
|
+ format_down="\uf07d 000 ms",
|
|
129
|
+ format_pause="\uf07d 000 ms")
|
129
|
130
|
|
130
|
131
|
def get_iface_param(iface):
|
131
|
132
|
if isinstance(iface, list):
|
|
@@ -133,7 +134,7 @@ def get_iface_param(iface):
|
133
|
134
|
return iface, iface
|
134
|
135
|
|
135
|
136
|
ifaces_wireless = ["wlan0", "wlan1"]
|
136
|
|
-ifaces_wired = ["eth0", "usb0"]
|
|
137
|
+ifaces_wired = ["eth0", "usb0", "br0"]
|
137
|
138
|
ifaces_tun = [["tun0", "rthoni.com"], ["tun1", "inet"],
|
138
|
139
|
["tun2", "betaclean"]]
|
139
|
140
|
|
|
@@ -146,7 +147,8 @@ for iface in ifaces_wireless:
|
146
|
147
|
format_down="\uf1eb " + iface_name,
|
147
|
148
|
format_down_hide="\uf1eb",
|
148
|
149
|
format_up="\uf1eb {essid} ({quality:03.0f}%) {v4}",
|
149
|
|
- format_up_hide="\uf1eb " + iface_name)
|
|
150
|
+ format_up_hide="\uf1eb " + iface_name,
|
|
151
|
+ unknown_up=True)
|
150
|
152
|
|
151
|
153
|
for iface in ifaces_wired:
|
152
|
154
|
iface, iface_name = get_iface_param(iface)
|
|
@@ -157,7 +159,8 @@ for iface in ifaces_wired:
|
157
|
159
|
format_down="\uf0e8 " + iface_name,
|
158
|
160
|
format_down_hide="\uf0e8",
|
159
|
161
|
format_up="\uf0e8 {v4}",
|
160
|
|
- format_up_hide="\uf0e8 " + iface_name)
|
|
162
|
+ format_up_hide="\uf0e8 " + iface_name,
|
|
163
|
+ unknown_up=True)
|
161
|
164
|
|
162
|
165
|
for iface in ifaces_tun:
|
163
|
166
|
iface, iface_name = get_iface_param(iface)
|