diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-06-17 11:15:28 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-10-30 09:52:23 +0100 |
commit | 625e17bcf1b3cc5193c3e1a1a93ae690c4a774e8 (patch) | |
tree | b6e84fdb0a9a0d96636fbaf6fd39bd4b27e5b8fe /.local/bin/iwctl-re | |
parent | cc681d0f59c8859ba778d2c6c9315e024c759405 (diff) |
move ~/bin to ~/.local/bin
Diffstat (limited to '.local/bin/iwctl-re')
-rwxr-xr-x | .local/bin/iwctl-re | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.local/bin/iwctl-re b/.local/bin/iwctl-re new file mode 100755 index 0000000..4343b30 --- /dev/null +++ b/.local/bin/iwctl-re @@ -0,0 +1,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) |