summaryrefslogtreecommitdiff
path: root/.config
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:33:50 -0400
commitaaeb38790673d3e86207d4a5de45bde0e794805e (patch)
tree5219e8d3e55d43915b7bd8ee3ea8730ab532c5f7 /.config
parente0f08aa75393b20cd1dbc14a3484f3a367108948 (diff)
rbar_wifi: sort the wifis
Diffstat (limited to '.config')
-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