Skip to content

systemheld/WifiToggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WifiToggle

this is a small daemon to disable Wifi network if a ethernet connection is plugged in and re-enables it when ethernet is pulled. You may run this as a unpriviled user or as root.

Todo

  • add a Menu Bar Icon
  • add to LoginItems instead of running as launchd job

Example launchd plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Label</key>
	<string>com.sample.WifiToggle</string>
	<key>Program</key>
	<string>/usr/local/bin/WifiToggle</string>
	<key>ProgramArguments</key>
	<array>
		<string>--start</string>
	</array>
	<key>RunAtLoad</key>
	<true/>
</dict>
</plist>

3rd-Party Components

AppIcon is composed out of the rrze-icon-set.

About

daemon to disable Wifi network if a ethernet connection is plugged in and vice versa

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages