From ae9c1a5cc53df4179fddd9623409c2eee9878f39 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 25 Jun 2016 12:26:02 -0400 Subject: rbar: shorten for smaller screen, show IP address --- .config/wmii-hg/rbar_wifi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.config/wmii-hg/rbar_wifi') diff --git a/.config/wmii-hg/rbar_wifi b/.config/wmii-hg/rbar_wifi index dad4e61..3f222bd 100755 --- a/.config/wmii-hg/rbar_wifi +++ b/.config/wmii-hg/rbar_wifi @@ -16,7 +16,10 @@ update() { while true; do { printf 'label ' - iwinfo wlp2s0|grep -E '^(ESSID|Link Quality)='|sed 'N;s/\n/ | /' + { + iwinfo wlp2s0 | sed -rn 's@^(ESSID|Link Quality)=@@p' + ifdata -pa wlp2s0 + } | sed 'N;N;s/\n/|/g' } | write "$id" sleep 1 done -- cgit v1.2.3-2-g168b