Finally found out how to make the IP display look decent
This commit is contained in:
parent
e97b577e39
commit
91699adcd0
|
@ -45,8 +45,7 @@ Uptime:$alignr$uptime
|
||||||
|
|
||||||
${color #d1d1d1}NETWORK $hr${color}
|
${color #d1d1d1}NETWORK $hr${color}
|
||||||
Gateway:$alignr$gw_ip
|
Gateway:$alignr$gw_ip
|
||||||
IP(s):
|
IP:${alignr}${exec ip addr | awk '/inet.[0-9\.]+\/24/{printf $2 "\n"; exit}'}
|
||||||
${exec ip addr | awk '/inet.[0-9\.]+\/24/{printf $2 "\n"}'}
|
|
||||||
Rx: ${downspeed enp10s0}/s$alignr Tx: ${upspeed enp10s0}/s
|
Rx: ${downspeed enp10s0}/s$alignr Tx: ${upspeed enp10s0}/s
|
||||||
|
|
||||||
${color #d1d1d1}CPU $hr${color}
|
${color #d1d1d1}CPU $hr${color}
|
||||||
|
|
|
@ -45,8 +45,7 @@ Uptime:$alignr$uptime
|
||||||
|
|
||||||
${color #d1d1d1}NETWORK $hr${color}
|
${color #d1d1d1}NETWORK $hr${color}
|
||||||
Gateway:$alignr$gw_ip
|
Gateway:$alignr$gw_ip
|
||||||
IP(s):
|
IP:${alignr}${exec ip addr | awk '/inet.[0-9\.]+\/24/{printf $2 "\n"; exit}'}
|
||||||
${exec ip addr | awk '/inet.[0-9\.]+\/24/{printf $2 "\n"}'}
|
|
||||||
Rx: ${downspeed enp10s0}/s$alignr Tx: ${upspeed enp10s0}/s
|
Rx: ${downspeed enp10s0}/s$alignr Tx: ${upspeed enp10s0}/s
|
||||||
|
|
||||||
${color #d1d1d1}CPU $hr${color}
|
${color #d1d1d1}CPU $hr${color}
|
||||||
|
|
Loading…
Reference in New Issue