summaryrefslogtreecommitdiff
path: root/.local/bin/iwctl-re
blob: 4343b30d140f3286330755a0b91e1a2e09cb48cb (plain)
1
2
3
4
5
6
7
8
9
#!/bin/zsh

notify-send "WLAN Reload" "Disconnect"
iwctl station wlan0 disconnect

sleep 5

notify-send "WLAN Reload" "Reconnect"
iwctl --passphrase $(pass router/passphrase) station wlan0 connect "$(pass router/name)" $(pass router/security)