From 2daa93b9985ecb8aba6531fdd93859a8dd451be3 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 18 Feb 2024 11:15:35 +0100 Subject: [iwctl+waybar] add "soft" and "hard" modes to wlan reconnect script --- .config/waybar/config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.config') diff --git a/.config/waybar/config b/.config/waybar/config index d5750b2..7fb3289 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -38,8 +38,8 @@ "format": "{ipaddr}", "format-disconnected": "Offline", "interval": 1, - "on-click-right": "~/.local/bin/iwctl-re", - "on-click-middle": "notify-send 'WLAN Reload' 'Restart iwd.service'; sudo systemctl restart iwd.service" + "on-click-right": "~/.local/bin/iwctl-re --mode=soft", + "on-click-middle": "~/.local/bin/iwctl-re --mode=hard" }, "battery": { "format": "E {capacity}%", -- cgit v1.2.3