summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-03-16 12:01:08 +0100
committerDaniel Weipert <code@drogueronin.de>2023-10-30 09:52:23 +0100
commit1ff9748e33817435420e480839ee7bab1a4684f3 (patch)
tree649b77f3e28c9fdf8e222a04899be09c21b3a9d4 /bin
parent6fd1a77a4b98c1c770a1506105867a9942fc4a0b (diff)
[waybar] add notify-send messages to wlan reconnect
Diffstat (limited to 'bin')
-rwxr-xr-xbin/iwctl-re4
1 files changed, 4 insertions, 0 deletions
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)