summaryrefslogtreecommitdiff
path: root/.config/wmii/rbar_wifi
blob: b78dce32ebe429f486e77e44a0c0bc7c38547955 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
. include.sh

priority=$1

while connected_to_x_server; do
	echo 'Wlan0:' $(iwconfig wlan0 | sed 's/ /\n/g' | grep Quality) >> "$WMII_DIR/rbar/${priority}_wifi"
	sleep 1
done