diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-08-21 21:45:57 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-08-21 21:45:57 -0400 |
commit | c2e463cf2f120c6e5abf17c780312406dcbafe6c (patch) | |
tree | 7ff42148716bdf7a000b7b38b5536089e66a92d3 /.wmii/rbar_wifi | |
parent | a522f9b78d4d364e61b39b35ed78a12dcef89b8c (diff) |
wmii continue redo-ing config
Diffstat (limited to '.wmii/rbar_wifi')
-rwxr-xr-x | .wmii/rbar_wifi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.wmii/rbar_wifi b/.wmii/rbar_wifi new file mode 100755 index 0000000..608b164 --- /dev/null +++ b/.wmii/rbar_wifi @@ -0,0 +1,10 @@ +#!/bin/bash +. "$HOME/.wmii/include.sh" + +priority=$1 + +set -e +while true; do + echo 'Wlan0:' $(iwconfig wlan0 | sed 's/ /\n/g' | grep Quality) |a "$WMII_DIR/rbar/${priority}_wifi" + sleep 1 +done |