x-blood / blue-enough

Turn off bluetooth when PC is in sleep mode.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🫐 Blue-Enough

This script automatically turns bluetooth OFF when your PC goes to SLEEP, and turns it back ON when it becomes operational (returns from sleep).

🏞️ Environment

  • MacOS
  • Homebrew

🛠️ Setup

Install Homebrew

You can install it from this page. The reason for installing Homebrew is that this script will install following packages via Homebrew.

Clone this repository

git clone git@github.com:kj455/blue-enough.git

Execute scripts

You will be asked to grant permissions to sleepwatcher while executing the commands, please follow the instructions to grant them.

cd blue-enough
bash install.sh
bash activate.sh

🔽 Uninstall

bash uninstall.sh

About

Turn off bluetooth when PC is in sleep mode.


Languages

Language:Shell 100.0%