- {
- "full_text": "d:${downspeed eno1} u:${upspeed eno1} ${addr eno1}",
- "color":
- ${if_match "${addr eno1}"=="No Address"}
- "\#ff0000"
- ${else}
- "\#00ff00"
- ${endif}
- },
+ ${if_match "${nodename_short}"=="magnesium"}
+ {
+ "full_text": "d:${downspeed eno1} u:${upspeed eno1} ${addr eno1}",
+ "color":
+ ${if_match "${addr eno1}"=="No Address"}
+ "\#ff0000"
+ ${else}
+ "\#00ff00"
+ ${endif}
+ },
+ ${endif}
+ ${if_match "${nodename_short}"=="platinum"}
+ {
+ "full_text": "d:${downspeed wlp2s0} u:${upspeed wlp2s0} ${addr wlp2s0}",
+ "color":
+ ${if_match "${addr wlp2s0}"=="No Address"}
+ "\#ff0000"
+ ${else}
+ "\#00ff00"
+ ${endif}
+ },
+ ${endif}