aboutsummaryrefslogtreecommitdiff
path: root/scripts/util/netsel.sh
blob: b1b2a88e80272ea7dc72f51cb174622357f1efb1 (plain)
1
2
3
4
5
6
#!/bin/sh

BSSID=$(printf "%s" "$(nmcli d wifi | fzf --height 40%)" | sed 's/\*//' | awk '{print $1}')
#read -sp "Enter password for $BSSID: " PASSWORD

nmcli d wifi connect $BSSID #password "$PASSWORD"