From 2a34164d80a1ac26ddb12a2fd865e535bbc6c678 Mon Sep 17 00:00:00 2001 From: "Dominik V. Salonen" Date: Wed, 13 Dec 2017 09:38:03 +0000 Subject: [PATCH] More flexible IP display --- conky/.conkyrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conky/.conkyrc b/conky/.conkyrc index 05a9efe..4d8a970 100644 --- a/conky/.conkyrc +++ b/conky/.conkyrc @@ -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}