summaryrefslogtreecommitdiff
path: root/bin/iwctl-re
blob: b79cee28a7b3ba5b10f1aba6bd0af3c2b5010f90 (plain)
1
2
3
4
5
#!/bin/zsh

iwctl station wlan0 disconnect
sleep 5
iwctl --passphrase $(pass router/passphrase) station wlan0 connect "$(pass router/name)" $(pass router/security)