From aaeb38790673d3e86207d4a5de45bde0e794805e Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 26 Mar 2015 15:32:20 -0400 Subject: rbar_wifi: sort the wifis --- .config/wmii-hg/rbar_wifi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/wmii-hg') diff --git a/.config/wmii-hg/rbar_wifi b/.config/wmii-hg/rbar_wifi index eaf0137..f83d921 100755 --- a/.config/wmii-hg/rbar_wifi +++ b/.config/wmii-hg/rbar_wifi @@ -29,7 +29,7 @@ right-click() { IFS='' while read -r line; do list+=("$line") - done < <({ netctl-auto list; printf '> %s\n' 'New Network' 'Disable All' 'Enable All';} | sed 's,$,$,' | column -s '$' -t) + done < <({ netctl-auto list | sort -k1.2; printf '> %s\n' 'New Network' 'Disable All' 'Enable All';} | sed 's,$,$,' | column -s '$' -t) cur='' for item in "${list[@]}"; do -- cgit v1.2.3-2-g168b