Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.

earendildev/toggleairport

 
 

Repository files navigation

The credit for most of the code belongs to others including albertbori/toggleairpot forked from Calvin-LL/toggleairport

Overview

Simply this Script turns off the WiFi Adapter when it detects a Wired Ethernet Connection and turns the WiFi back on when the Ethernet Adapter is unplugged. Only for MacOs.

For Catalina and later

To Install

mkdir -p $HOME/.config/scripts/ && cd $HOME/.config/scripts/
git clone https://github.com/earendildev/toggleairport.git
cd toggleairport
./install.sh

To Uninstall

cd $HOME/.config/scripts/toggleairport
./uninstall.sh

Do not run either of the scripts with sudo, if you do, notifications will not display.

About

A script for macOS to turn off WiFi when Ethernet is plugged in, and turn on WiFi when Ethernet is unplugged

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%