• Stars
    star
    1,983
  • Rank 23,367 (Top 0.5 %)
  • Language
    Swift
  • License
    MIT License
  • Created over 4 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Sleeping Mac = Bluetooth off

Bluesnooze logo

Bluesnooze

Download the latest release or install via Homebrew:

brew install bluesnooze

Please note the latest release requires MacOS Monterey (12.0) or higher.

Enjoying Bluesnooze? โค๏ธ

Perhaps you could buy me a coffee to say thanks โ˜•

About

Bluesnooze prevents your sleeping Mac from connecting to Bluetooth accessories.

If you pair Bluetooth headphones or speakers with both your phone & Mac it can be frustrating when your sleeping Mac connects intermittently and disrupts the audio.

With Bluesnooze the Bluetooth connection is switched off when your Mac sleeps, and switched on when your Mac wakes.

Screenshot showing Bluesnooze in the status bar

You might also want to check-out Whisper โ€“ the volume limiter for MacOS.

Installation

  1. Download Bluesnooze.zip from the latest release
  2. In Finder, open Bluesnooze.zip in your Downloads directory
  3. Drag Bluesnooze.app to your Applications directory
  4. Optional: Configure 'Launch at login'

Caveats

  • Please note this app is not compatible with the โ€œAllow your Apple Watch to unlock your Macโ€ feature.
  • Unfortunately this app can't be distributed via the App Store because it uses a private API to switch Bluetooth on/off (but the release version is notarized by Apple).

FAQs

Can you add support for selectively disconnecting certain devices?

Bluesnooze is a really simple app which toggles the Bluetooth power on/off. Disconnecting specific devices would require a complete rewrite, and I don't need this functionality or the complexity it brings. Please feel free to fork & experiment as you like โœŒ๏ธ

How can I hide the Bluesnooze icon?

In your terminal run the following command:

defaults write com.oliverpeate.Bluesnooze hideIcon -bool true && killall Bluesnooze

When you next relaunch the application there should be no icon in the menu bar.

How can I restore the Bluesnooze icon?

In your terminal run the following command:

defaults delete com.oliverpeate.Bluesnooze hideIcon && killall Bluesnooze

When you next relaunch the application it should appear in the menu bar.