diff --git a/wifi b/wifi index a7ebb87..4104a56 100755 --- a/wifi +++ b/wifi @@ -57,7 +57,7 @@ __connect_config() { } remove_old_config() { - name="`echo '' | dmenu -i -p 'Name of config to remove'`" + name="`ls $cfg_loc | dmenu -i -p 'Name of config to remove'`" rm -f "$cfg_loc/$name" }