From d79363050398e8e7f1bf282b7bd6fe9a38065c1e Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 21 Jul 2021 09:04:14 +0200 Subject: [PATCH] rofi-wifi: display current security and signal --- bin/rofi-wifi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/rofi-wifi b/bin/rofi-wifi index 5054ca2..d0bbb45 100755 --- a/bin/rofi-wifi +++ b/bin/rofi-wifi @@ -31,7 +31,8 @@ case $ROFI_RETV in } ($1 == "SIGNAL") { if (p["IN-USE"] == "*") { - printf("\00message\x1fConnected to %s (%s)\n", p["SSID"], p["FREQ"]); + printf("\00message\x1fConnected to %s (%s, %s, %s%%)\n", + p["SSID"], p["FREQ"], p["SECURITY"], p["SIGNAL"]); } else { printf("%s (%s, %s)", p["SSID"], p["FREQ"], p["SECURITY"]);