odlp / bluesnooze

Sleeping Mac = Bluetooth off
MIT License
2.04k stars 57 forks source link

Hiding menu bar icon doesn't appear to work on Apple Silicon #27

Closed craigfurman closed 1 year ago

craigfurman commented 1 year ago

I recently installed Bluesnooze on my 2 Mac laptops - it's a great tool, much appreciated! They are both running macOS Ventura. The only difference I can think of is that one is an M1 macbook air, the other has an Intel chip.

Running defaults write com.oliverpeate.Bluesnooze hideIcon -bool true && killall Bluesnooze and then starting up bluesnooze again results in the menu bar icon re-appearing on my M1 macbook air, but not on my Intel mac.

This might end up having a similar root cause to https://github.com/odlp/bluesnooze/issues/22 but the symptom is a little different so I figured another issue was warranted.

orbitbot commented 1 year ago

This might also be OS version dependant, since I have a M1 MBP running Ventura 13.4 where the Bluesnooze menu bar icon does not show up, but a recently installed M2 MBP with Ventura 13.5.1 seems to keep the icon active with the instructions given. The original install on the M1 MBP is much older, so I cannot recall how it was hidden, but I presume it would be through the readme instructions at the time.

craigfurman commented 1 year ago

Solved using this slight tweak: https://github.com/odlp/bluesnooze/pull/29

TudorGruian commented 1 year ago

@craigfurman your tweak does not work for me. This is how I did it:

After this, the icon is still present. I might have reproduced it wrongly. Do you have any suggestions on this? Have I done something different?

craigfurman commented 1 year ago

I'm not sure @TudorGruian, sorry.