summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-03-26 15:32:20 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-03-26 15:32:20 -0400
commit6e6e09d592101a5560a54558fb2e7b73d8549948 (patch)
treeb79bea5e1f6484c93abbf73191c72c1727539ec1
parent7c9778d18ffd0b51217c4460b8b5eefbf808a2a2 (diff)
rbar_wifi: sort the wifis
-rwxr-xr-x.config/wmii-hg/rbar_wifi2
1 files changed, 1 insertions, 1 deletions
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