From ba774bfa2d8b47a9887387660009af1e275b3ad9 Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 24 Aug 2016 01:34:22 +0200 Subject: .config/conky/network: Colorizing the lsof -ni output by adding color tags to the awk processed output. --- .config/conky/network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/conky/network b/.config/conky/network index 45ff834..831970b 100644 --- a/.config/conky/network +++ b/.config/conky/network @@ -67,4 +67,4 @@ ${color3}sleepmap: ${color1}${execpi 30 systemctl is-active openvpn@sleepmap} ${color3}secure: ${color1}${execpi 30 systemctl is-active openvpn@secure} ${color5}Connections: -${color1}${execpi 1 lsof -ni| grep ESTABLISHED| grep -v 127.0.0.1| awk '{print $1,$9;}' } +${execpi 1 lsof -ni| grep ESTABLISHED| grep -v 127.0.0.1| awk '{print "${color3}"$1,"${color1}"$9;}' } -- cgit v1.2.3-70-g09d2