More flexible IP display
This commit is contained in:
parent
c13cf7556c
commit
2a34164d80
|
@ -45,8 +45,8 @@ Uptime:$alignr$uptime
|
|||
|
||||
${color #d1d1d1}NETWORK $hr${color}
|
||||
Gateway:$alignr$gw_ip
|
||||
Local IP (Eth): $alignr ${addr enp10s0}
|
||||
Local IP (WiFi): $alignr ${addr wlp8s0}
|
||||
IP(s):
|
||||
${exec ip addr | awk '/inet.[0-9\.]+\/24/{printf $2 "\n"}'}
|
||||
Rx: ${downspeed enp10s0}/s$alignr Tx: ${upspeed enp10s0}/s
|
||||
|
||||
${color #d1d1d1}CPU $hr${color}
|
||||
|
|
Loading…
Reference in New Issue