From 1ff9748e33817435420e480839ee7bab1a4684f3 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Thu, 16 Mar 2023 12:01:08 +0100 Subject: [waybar] add notify-send messages to wlan reconnect --- bin/iwctl-re | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin') diff --git a/bin/iwctl-re b/bin/iwctl-re index b79cee2..4343b30 100755 --- a/bin/iwctl-re +++ b/bin/iwctl-re @@ -1,5 +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