mirror of
https://github.com/elenapan/dotfiles.git
synced 2026-02-22 21:05:16 +08:00
networks: Remove unneeded network scan
The `update_networks()` function already scans in the beginning.
This commit is contained in:
parent
50cad1adc2
commit
c5431fb7f0
1 changed files with 1 additions and 2 deletions
|
|
@ -78,10 +78,9 @@ scan() {
|
|||
exit 1
|
||||
fi
|
||||
eww update networks-scan-loading=true
|
||||
iwctl station $interface scan
|
||||
for (( i = 0; i < 5; i++ )); do
|
||||
sleep 1
|
||||
update_networks
|
||||
sleep 1
|
||||
done
|
||||
eww update networks-scan-loading=false
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue