summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xiwd-control.sh1
1 files changed, 1 insertions, 0 deletions
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 \