Update network formats with icons
This commit is contained in:
parent
6eec462476
commit
dc6917a383
1 changed files with 8 additions and 6 deletions
|
@ -32,18 +32,20 @@
|
||||||
% for iface in host.get('wireless', []):
|
% for iface in host.get('wireless', []):
|
||||||
"network#${iface}": {
|
"network#${iface}": {
|
||||||
"interface": "${iface}",
|
"interface": "${iface}",
|
||||||
"format": "${iface} {ipaddr} {essid} {signalStrength}",
|
"format": "\uf1eb \uf058",
|
||||||
"format-disconnected": "${iface} down",
|
"format-disconnected": "\uf1eb \uf057",
|
||||||
"tooltip": false
|
"tooltip-format": "${iface} {ipaddr} {essid} {signalStrength}",
|
||||||
|
"tooltip-format-disconnected": "${iface} down"
|
||||||
},
|
},
|
||||||
% endfor
|
% endfor
|
||||||
|
|
||||||
% for iface in host.get('ethernet', []):
|
% for iface in host.get('ethernet', []):
|
||||||
"network#${iface}": {
|
"network#${iface}": {
|
||||||
"interface": "${iface}",
|
"interface": "${iface}",
|
||||||
"format": "${iface} {ipaddr}",
|
"format": "\uf6ff \uf058",
|
||||||
"format-disconnected": "${iface} down",
|
"format-disconnected": "\uf6ff \uf057",
|
||||||
"tooltip": false
|
"tooltip-format": "${iface} {ipaddr}",
|
||||||
|
"tooltip-format-disconnected": "${iface} down"
|
||||||
},
|
},
|
||||||
% endfor
|
% endfor
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue