Open xumanbu opened 1 month ago
I've encountered the same problem today, and I found this solution.
It works for me. After granting location permission to Hammerspoon, hs.wifi.currentNetwork()
no longer returns nil.
I've encountered the same problem today, and I found this solution.
It works for me. After granting location permission to Hammerspoon,
hs.wifi.currentNetwork()
no longer returns nil.
Great! It works. Thank you very much.
hs.hotkey.bind({"cmd", "alt", "ctrl"}, "W", function() sid = hs.wifi.currentNetwork() hs.alert.show(sid) end)