dotfiles/bin/iwctlctl

18 lines
212 B
Bash
Executable file

#!/bin/bash
iwctl station wlan0 scan
wait_string=' Scanning for networks ...'
for ((i=0; i<${#wait_string}; i++)); do
printf "${wait_string:i:1}"
sleep 0.2
done
iwctl station wlan0 get-networks
iwctl