Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/odlp/bluesnooze
Sleeping Mac = Bluetooth off
https://github.com/odlp/bluesnooze
bluetooth macos macos-menubar
Last synced: 3 days ago
JSON representation
Sleeping Mac = Bluetooth off
- Host: GitHub
- URL: https://github.com/odlp/bluesnooze
- Owner: odlp
- License: mit
- Created: 2020-04-10T10:04:30.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-02-19T12:57:56.000Z (10 months ago)
- Last Synced: 2024-12-14T03:03:50.762Z (10 days ago)
- Topics: bluetooth, macos, macos-menubar
- Language: Swift
- Size: 2.02 MB
- Stars: 2,176
- Watchers: 19
- Forks: 60
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![Bluesnooze logo](images/icon.png)
# Bluesnooze
[Download the latest release][download-latest] or install via Homebrew:
```sh
brew install bluesnooze
```Please note the latest release requires MacOS Monterey (12.0) or higher.
## Enjoying Bluesnooze? ❤️
Perhaps you could [buy me a coffee](https://www.buymeacoffee.com/odlp) to say thanks :coffee:
## 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](images/screenshot.png)
You might also want to check-out Whisper – [the volume limiter for MacOS](https://apps.apple.com/gb/app/whisper-volume-limiter/id1438132944?mt=12).
## Installation
1. Download `Bluesnooze.zip` from the [latest release][download-latest]
1. In Finder, open `Bluesnooze.zip` in your `Downloads` directory
1. Drag `Bluesnooze.app` to your `Applications` directory
1. *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).[download-latest]: https://github.com/odlp/bluesnooze/releases/latest
## 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:
```sh
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:
```sh
defaults delete com.oliverpeate.Bluesnooze hideIcon && killall Bluesnooze
```When you next relaunch the application it should appear in the menu bar.