summaryrefslogtreecommitdiff
path: root/.wmii/rbar_wifi
blob: 608b164a3818a3fc717f3b4c341d08b77cc7958d (plain)
1
2
3
4
5
6
7
8
9
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