summaryrefslogtreecommitdiff
path: root/.config/wmii-hg/rbar_wifi
blob: 18395a38ccbd828f3feb70588a882f7b8dab6908 (plain)
1
2
3
4
5
6
7
8
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