rofi-wifi: display current security and signal

This commit is contained in:
Vincent Bernat 2021-07-21 09:04:14 +02:00
parent 81380633de
commit d793630503

View file

@ -31,7 +31,8 @@ case $ROFI_RETV in
}
($1 == "SIGNAL") {
if (p["IN-USE"] == "*") {
printf("\00message\x1fConnected to <i>%s</i> (%s)\n", p["SSID"], p["FREQ"]);
printf("\00message\x1fConnected to <i>%s</i> (%s, %s, %s%%)\n",
p["SSID"], p["FREQ"], p["SECURITY"], p["SIGNAL"]);
} else {
printf("%s (<i><small>%s, %s</small></i>)",
p["SSID"], p["FREQ"], p["SECURITY"]);