From 625e17bcf1b3cc5193c3e1a1a93ae690c4a774e8 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sat, 17 Jun 2023 11:15:28 +0200 Subject: move ~/bin to ~/.local/bin --- .local/bin/iwctl-re | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 .local/bin/iwctl-re (limited to '.local/bin/iwctl-re') 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) -- cgit v1.2.3