Browse Source

Finally found out how to make the IP display look decent

master
Quad 5 years ago
parent
commit
91699adcd0
  1. 3
      conky/conkyrc
  2. 3
      conky/conkyrc-laptop

3
conky/conkyrc

@ -45,8 +45,7 @@ Uptime:$alignr$uptime
${color #d1d1d1}NETWORK $hr${color}
Gateway:$alignr$gw_ip
IP(s):
${exec ip addr | awk '/inet.[0-9\.]+\/24/{printf $2 "\n"}'}
IP:${alignr}${exec ip addr | awk '/inet.[0-9\.]+\/24/{printf $2 "\n"; exit}'}
Rx: ${downspeed enp10s0}/s$alignr Tx: ${upspeed enp10s0}/s
${color #d1d1d1}CPU $hr${color}

3
conky/conkyrc-laptop

@ -45,8 +45,7 @@ Uptime:$alignr$uptime
${color #d1d1d1}NETWORK $hr${color}
Gateway:$alignr$gw_ip
IP(s):
${exec ip addr | awk '/inet.[0-9\.]+\/24/{printf $2 "\n"}'}
IP:${alignr}${exec ip addr | awk '/inet.[0-9\.]+\/24/{printf $2 "\n"; exit}'}
Rx: ${downspeed enp10s0}/s$alignr Tx: ${upspeed enp10s0}/s
${color #d1d1d1}CPU $hr${color}

Loading…
Cancel
Save