mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-04 07:14:21 +02:00
rofi-wifi: display current security and signal
This commit is contained in:
parent
81380633de
commit
d793630503
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,8 @@ case $ROFI_RETV in
|
||||||
}
|
}
|
||||||
($1 == "SIGNAL") {
|
($1 == "SIGNAL") {
|
||||||
if (p["IN-USE"] == "*") {
|
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 {
|
} else {
|
||||||
printf("%s (<i><small>%s, %s</small></i>)",
|
printf("%s (<i><small>%s, %s</small></i>)",
|
||||||
p["SSID"], p["FREQ"], p["SECURITY"]);
|
p["SSID"], p["FREQ"], p["SECURITY"]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue