GitXplorerGitXplorer
p

WifiWatch

public
20 stars
4 forks
1 issues

Commits

List of commits on branch master.
Unverified
a0d8b1427737d2f60bdab52680dbb0b7b4117465

Better sample script

pp2 committed 8 years ago
Unverified
dc52a6511f7bae664582117d8e08ac4d51e1e060

Update README

pp2 committed 8 years ago
Unverified
2f7359e7b861252494a9e66511374412dabcb34a

Add Code and Icon

pp2 committed 8 years ago
Unverified
f196d443813b5bd20b985f21862799038b8195f5

Initial commit

pp2 committed 8 years ago

README

The README file for this repository.

WifiWatch

Native macOS app that registers itself to WiFi network changes and executes either ~/.wifiConnected or ~/.wifiDisconnected scripts. Two example scripts, connecting and disconnecting from VPN configurations respectively, are included.

This app is built to be added to your startup items and just keep running in the background. The icon will not show up in the Dock, use Activity Montior to shut it down if needed. A prebuilt & signed app binary is available in the releases.

Scripts

Place these scripts in your home folder (~) and make them executable:

$ chmod g+x ~/.wifi*

.wifiConnected

  • 1st arg: SSID of the connected network
  • 2nd arg: SSID of the previously connected network, if any. May be the same.

.wifiDisconnected

  • 1st arg: SSID of the previously connected network, if any

License

See LICENSE.