diff options
Diffstat (limited to '.wmii-hg/rbar_wifi')
-rwxr-xr-x | .wmii-hg/rbar_wifi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.wmii-hg/rbar_wifi b/.wmii-hg/rbar_wifi new file mode 100755 index 0000000..18395a3 --- /dev/null +++ b/.wmii-hg/rbar_wifi @@ -0,0 +1,9 @@ +#!/bin/bash +. include.sh + +priority=$1 + +while connected_to_x_server; do + echo 'label Wlan0:' $(iwconfig wlan0 | sed 's/ /\n/g' | grep Quality) >> "$WMII_DIR/rbar/${priority}_wifi" + sleep 1 +done |