From e57d8077cca60fc32ead0277f4807d90a96cb715 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 6 Feb 2023 16:32:20 +0100 Subject: [iwctl+waybar] add wlan reconnect script --- bin/iwctl-re | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 bin/iwctl-re (limited to 'bin/iwctl-re') diff --git a/bin/iwctl-re b/bin/iwctl-re new file mode 100755 index 0000000..b79cee2 --- /dev/null +++ b/bin/iwctl-re @@ -0,0 +1,5 @@ +#!/bin/zsh + +iwctl station wlan0 disconnect +sleep 5 +iwctl --passphrase $(pass router/passphrase) station wlan0 connect "$(pass router/name)" $(pass router/security) -- cgit v1.2.3