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

Latest commit

 

History

History
25 lines (19 loc) · 807 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 807 Bytes

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.