summaryrefslogtreecommitdiff
path: root/.config/wmii/rbar_wifi
blob: 2ada834b0f9a5f876b8432e9a18e0a7fba31c291 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
. "$HOME/.wmii/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