From 318568fb6db4981692d7b2abc5e0a42f0907a2b5 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 10 Oct 2012 01:21:52 -0400 Subject: wmii: use a connected_to_x_server function --- .wmii/rbar_wifi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.wmii/rbar_wifi') diff --git a/.wmii/rbar_wifi b/.wmii/rbar_wifi index 608b164..2ea84a3 100755 --- a/.wmii/rbar_wifi +++ b/.wmii/rbar_wifi @@ -3,8 +3,7 @@ priority=$1 -set -e -while true; do +while connected_to_x_server; do echo 'Wlan0:' $(iwconfig wlan0 | sed 's/ /\n/g' | grep Quality) |a "$WMII_DIR/rbar/${priority}_wifi" sleep 1 done -- cgit v1.2.3-2-g168b