Skip to content
forked from alb12-la/KBOS

Tired of your bluetooth headphones pairing with a computer you thought was asleep ? This fixes that

License

Notifications You must be signed in to change notification settings

highonsemicolon/KBOS

 
 

Repository files navigation

Kill Bluetooth On Sleep (KBOS)

Tired of your bluetooth headphones pairing with a MacOs computer you thought was asleep ? This fixes that

KBOS uses sleepwatcher and Blueutil to turn off bluetooth when your mac falls asleep, then turns it back on when the computer is woken up.

Prerequisites

KBOS requires Homebrew which is used to install the following packages:

Installation

  1. Install Homebrew manually first.
  2. run bash setup.sh from this directory.

Additional arguments

-h, --help                show brief help menu
-d, --disable             disables KBOS, but doesn't uninstall anything.
-e, --enable              re-enables KBOS from a disabled state
-u, --uninstall           removes the ~/sleepscripts directory and the KBOS Plist but does NOT uninstall brew, Blueutil, or sleepwatcher. I'll let you handle that on your own https://docs.brew.sh/FAQ#how-do-i-uninstall-a-formula.

Future improvements

  • Improve script output and robustness

Report a bug

If this script doesn't work for you, please let me know so I can improve it or feel free to send a pull request.

About

Tired of your bluetooth headphones pairing with a computer you thought was asleep ? This fixes that

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%