update iw listing

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

View file

@ -51,6 +51,8 @@ _wireless() {
while [[ -z "${_CONTINUE}" ]]; do while [[ -z "${_CONTINUE}" ]]; do
# scan the area # scan the area
_essid_scan | _dialog --title " Network Configuration " --no-mouse --gauge "Scanning 5 second(s) for SSIDs with interface ${_INTERFACE}..." 6 60 _essid_scan | _dialog --title " Network Configuration " --no-mouse --gauge "Scanning 5 second(s) for SSIDs with interface ${_INTERFACE}..." 6 60
# only show lines with signal '*'
# kill spaces from the end and replace spaces with + between
#shellcheck disable=SC2086,SC2046 #shellcheck disable=SC2086,SC2046
if _dialog --cancel-label "${_LABEL}" --title " SSID Scan Result " --menu "Empty spaces in your SSID are replaced by '+' char" 13 60 6 \ 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 |\ "RESCAN" "SSIDs" "HIDDEN" "SSID" $(iwctl station "${_INTERFACE}" get-networks |\