From abfccda363cfa08a929f292c857862257bf81600 Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Wed, 1 Oct 2025 22:49:19 +0100 Subject: Ensure device is powered on when getting networks --- iwd-control.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'iwd-control.sh') diff --git a/iwd-control.sh b/iwd-control.sh index daef965..d430529 100755 --- a/iwd-control.sh +++ b/iwd-control.sh @@ -4,6 +4,7 @@ menu=bemenu device="wlan0" get_networks(){ + iwctl device "$device" set-property Powered on > /dev/null 2>&1 iwctl station "$device" scan > /dev/null 2>&1 iwctl station "$device" get-networks > /dev/null 2>&1 iwctl station "$device" get-networks \ -- cgit