diff options
Diffstat (limited to '.config/wmii-hg/rbar_wifi')
-rwxr-xr-x | .config/wmii-hg/rbar_wifi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/wmii-hg/rbar_wifi b/.config/wmii-hg/rbar_wifi new file mode 100755 index 0000000..608b164 --- /dev/null +++ b/.config/wmii-hg/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 |