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 --- .config/waybar/config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.config/waybar') diff --git a/.config/waybar/config b/.config/waybar/config index d65a5e5..d32c360 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -38,7 +38,8 @@ "format": "{ipaddr}", "format-disconnected": "Offline", "interval": 1, - "on-click-right": "~/bin/iwctl-re" + "on-click-right": "~/bin/iwctl-re", + "on-click-middle": "notify-send 'WLAN Reload' 'Restart iwd.service'; sudo systemctl restart iwd.service" }, "battery": { "format": "E {capacity}%", -- cgit v1.2.3