-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hide macOS dock icon #44
Comments
@semvis123 is the expert here |
Hi, I created a similar software for the Parrot Zik headphone, and now I own a Sony headset. If you need to, I can help on this project: I tends to believe that it would be better to only offer one option: either show the dock icon for everybody, or for nobody. I'd vote for no dock icon, and the UI embedded in the menu, something similar to Big Sur control center. If you want to change this setting programatically, it appears you should perform this way: |
Hi,
https://developer.apple.com/documentation/foundation/nsuserdefaults?language=objc Those are just some ideas, and I currently do not have enough time to fulfill this all. But I would love to hear your opinion about something like this. |
This could be an option. However, some settings are not compatible (it's not a good idea to disable both dock icon and menu icon). Also, I hope someday we would have a way to display battery level in the menu. The other options (start at login, auto reconnect, …) would be really great! I am quite busy right now, be maybe I can help someday… |
Yeah I know, but we should just disable the other button, so that you won't end up with a broken program or we could use a NSSwitch, but that is only available in the more recent macOS versions. Don't know about both icons, there is already enough clutter in my menu bar :) Global hot key would indeed be great, battery level could be added when receiving the settings/information from the headphones is implemented. |
I have some ideas on how to implement it with Automator, I'll try them later and post the results |
If there would be an CLI option for any control, it would be probably the best. Then you can use it however you want, suiting your workflow:
|
Hi!
I've managed to hide the dock icon, while keeping the menu bar. For me, the dock icon doesn't make much sense, cause the best thing about the macOS app is the quick toggle between noise cancelling and ambient mode.
I have little experience with native Objective-C, but managed to hide the dock icon using following modifications:
LSUIElement String 1
Maybe we can manage the settings via menu bar?
The text was updated successfully, but these errors were encountered: