aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2016-08-24 01:34:22 +0200
committerDavid Runge <dave@sleepmap.de>2016-08-24 01:34:22 +0200
commitba774bfa2d8b47a9887387660009af1e275b3ad9 (patch)
treed97dad3e865cb6c4b719580dedac16667cba4955
parent87761698d502a3986f1805553400488a7708a707 (diff)
downloaddotfiles-ba774bfa2d8b47a9887387660009af1e275b3ad9.tar.gz
dotfiles-ba774bfa2d8b47a9887387660009af1e275b3ad9.tar.bz2
dotfiles-ba774bfa2d8b47a9887387660009af1e275b3ad9.tar.xz
dotfiles-ba774bfa2d8b47a9887387660009af1e275b3ad9.zip
.config/conky/network: Colorizing the lsof -ni output by adding color tags to the awk processed output.
-rw-r--r--.config/conky/network2
1 files changed, 1 insertions, 1 deletions
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;}' }