update iw listing

This commit is contained in:
Tobias Powalowski 2024-06-27 16:14:30 +02:00
parent 9f2fa76e3e
commit 11ec1c9179

View file

@ -55,7 +55,7 @@ _wireless() {
if _dialog --cancel-label "${_LABEL}" --title " SSID Scan Result " --menu "Empty spaces in your SSID are replaced by '+' char" 13 60 6 \
"RESCAN" "SSIDs" "HIDDEN" "SSID" $(iwctl station "${_INTERFACE}" get-networks |\
rg -o ' {6}(.{34}).*\*' -r '$1' |\
sd ' ' '+' | sd '+*\n$' ' _') 2>"${_ANSWER}"; then
sd ' ' '+' | sd '\+*\n$' ' _') 2>"${_ANSWER}"; then
_WLAN_SSID=$(cat "${_ANSWER}")
_CONTINUE=1
if rg -q 'RESCAN' "${_ANSWER}"; then