diff options
author | David Runge <dave@sleepmap.de> | 2016-08-24 01:34:22 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2016-08-24 01:34:22 +0200 |
commit | ba774bfa2d8b47a9887387660009af1e275b3ad9 (patch) | |
tree | d97dad3e865cb6c4b719580dedac16667cba4955 | |
parent | 87761698d502a3986f1805553400488a7708a707 (diff) | |
download | dotfiles-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/network | 2 |
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;}' } |