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', []): | ||||
|     "network#${iface}": { | ||||
|         "interface": "${iface}", | ||||
|         "format": "${iface} {ipaddr} {essid} {signalStrength}", | ||||
|         "format-disconnected": "${iface} down", | ||||
|         "tooltip": false | ||||
|         "format": "\uf1eb \uf058", | ||||
|         "format-disconnected": "\uf1eb \uf057", | ||||
|         "tooltip-format": "${iface} {ipaddr} {essid} {signalStrength}", | ||||
|         "tooltip-format-disconnected": "${iface} down" | ||||
|     }, | ||||
| % endfor | ||||
| 
 | ||||
| % for iface in host.get('ethernet', []): | ||||
|     "network#${iface}": { | ||||
|         "interface": "${iface}", | ||||
|         "format": "${iface} {ipaddr}", | ||||
|         "format-disconnected": "${iface} down", | ||||
|         "tooltip": false | ||||
|         "format": "\uf6ff \uf058", | ||||
|         "format-disconnected": "\uf6ff \uf057", | ||||
|         "tooltip-format": "${iface} {ipaddr}", | ||||
|         "tooltip-format-disconnected": "${iface} down" | ||||
|     }, | ||||
| % endfor | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Adam Gausmann
						Adam Gausmann