mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-02 22:34:20 +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") {
|
||||
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"]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue