diff options
author | Rasmus <rasmus.luha@gmail.com> | 2023-04-08 00:27:03 +0300 |
---|---|---|
committer | Rasmus <rasmus.luha@gmail.com> | 2023-04-08 00:27:03 +0300 |
commit | a16bdfe930d89e1a7fb354b78d16e8742118f76d (patch) | |
tree | f32aabd929a485ac24ea2b3fb1c9c9d041f27478 /local/.local/scripts/wificon |
checkers
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 |