diff options
Diffstat (limited to 'local/.local/scripts/wificon')
-rwxr-xr-x | local/.local/scripts/wificon | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/local/.local/scripts/wificon b/local/.local/scripts/wificon new file mode 100755 index 0000000..fc43c2c --- /dev/null +++ b/local/.local/scripts/wificon @@ -0,0 +1,5 @@ +#! /bin/bash + +wifinimi=$(nmcli device wifi list | sed -n '1!p' | cut -b 9- | dmenu -p "Select Wifi: " -l 20 | cut -d' ' -f1) +pass=$(echo "" | dmenu -p "Enter Password: ") +nmcli device wifi connect $wifinimi password $pass |