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)