From 56967bb9edbc5c68e00105be20690821204b31ed Mon Sep 17 00:00:00 2001 From: shockrahwow Date: Wed, 4 Sep 2019 12:05:03 -0700 Subject: [PATCH] fixed removal(forgot to pipe in configs --- wifi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }