-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
Aerospace WM support #423
Comments
Hi, sorry for my late response! Unfortunately, simple-bar is working only with yabai, as it depends on its signals and command line interface for spaces and application display. I'm not planning to adapt simple-bar to Aeorspace for now but if this request get sufficient traction, I could take a deeper look on the feasibility :) |
Thanks! It would be much appreciated to get Aerospace with simple-bar! And I think people will also like it. |
+1 to this feature |
From now on, AeroSpace is supported! It lacks some features compared to the yabai implementation but it is completely usable. You can enable it in settings ( I will keep this issue opened and pin it so anyone can leave feedback and feature requests! Edit: typo and more details |
Lessgooo! |
nvm fixed. I put the mentioned aerospace edits the wrong place there, so didnt work. |
Glad to hear everything works fine now and happy to hear you like simple-bar! :) |
I have a few questions I tried to looked into the docs(might have skipped)
|
There is indeed a slight delay when switching spaces. It is mainly due to how Übersicht works: it can only be refreshed with the help of applescript ( In order to circumvent that, I created simple-bar-server. This little node server is allowing to bypass Übersicht and communicate directly with all simple-bar's widgets with web sockets. It is a lot faster for the yabai implementation but it requires to install another tool so not everyone will be on board with this approach. I'm planning to add the AeroSpace implementation in simple-bar-server soon! I'll let you know when everything is ready. Using this basically allow you to refresh any simple-bar widget with simple About you second question, you can enable the "Bottom bar" setting in the "Global" tab. For example: .weather {
order: 2;
}
.battery {
order: 1;
} Let me know if this helps you. Edit: typos |
I don't know about simple-bar-server and Übersicht specific problems, but I'd like to notice that AeroSpace itself can be the cause of the delay. The problem here is that AeroSpace is a single threaded application, and macOS AX API is blocking API, so when you switch workspaces, AeroSpace thread is blocked by macOS, and the thread doesn't have resources to answer the CLI query like I plan to address such performance problems in nikitabobko/AeroSpace#104 nikitabobko/AeroSpace#131 Currently, the workaround is to use I see that 5852a58 doesn't use |
@nikitabobko I see! Thank you for all theses details! I won't be able to improve the default implementation but when I'll work on simple-bar-server integration of AeroSpace, the use of the |
Hi, is there a way to only show those workspaces on top which have some soft open? else it just disappears. Since aerospace has like multiple empty workspaces as well, and all of them just shows up at the top, even if empty, doesnt look neat. |
Sure, there is a "Hide empty spaces" setting in the "Spaces" tab in the settings. |
Great! I think just like you have yabai based sections in docs, maybe you should have 1 for aerospace addressing these issues + Some nice Tips which aerospace users might benefit from! If you would like |
Ques. I have toggled empty spaces to not be visible. But in aerospace I have many such spaces. This also disables if I am in an empty workspace. Say I am in |
That was a bug! Thank you for reporting it. It should be fixed in my latest commit. |
Thanks! It works perfectly |
Hi guys! First of all big thank you to Jean, I have been using simple-bar for so long that I don't even know how to go back to the old menu bar. I recently made the switch from yabai to aerospace too, and played around with the config a bit. Today realized something that I don't know how to classify - I don't know if it is a bug or just an oversight of me somewhere in the config. But maybe it will help somebody facing this problem too: My usual working setup includes two monitors (one Dell, one LG) with my MacBook lid being closed. Therefore, I used the following assignment in the [workspace-to-monitor-force-assignment]
3 = ["dell", "main"]
4 = ["dell", "main"]
5 = ["dell", "main"]
6 = ["LG", "main"]
7 = ["LG", "main"]
8 = ["LG", "main"]
9 = ["LG", "main"] Now what happened was, that What fixed this for me was moving the menu bar in the display arrangement settings ( Now the spaces are shown correctly in the simple bar too. Is this expected behavior? |
Hi @hld0! Thank you for your kind words, I really appreciate that you love using simple-bar! :) Thanks for explaining your configuration, I think this is due to a monitor number mismatch between simple-bar and AeroSpace. Because of this, simple-bar is displaying the workspaces on the wrong monitor. I don't know the rules for the monitor/id association thus I can't explain what is going on. I had indeed some problems while integrating this so I settled on using AeroSpace documentation excerpt:
In my tests, I saw that these values were not the same depending mainly on the displays arrangement in Macos settings. I could add a setting in simple-bar allowing to choose which value to use ( As a last resort, your solution seems to work well even if it was not intended on my side. Please let me know if you want me to implement this. If so, I'll also add an entry in documentation explaining the issue. |
Hi! Can you check if you are using the latest version of AeroSpace? |
Is your feature request related to a problem? Please describe.
I really like the looks of Simple-bar, but as the repo says, its for yabai. So Does it work for Aerospace WM for Mac???
Describe the solution you'd like
If it doesn't work for aerospace, is there anyway I can use simple-bar?
Describe alternatives you've considered
NA
Additional context
I searched for any issues related to it, coudnt find.
The text was updated successfully, but these errors were encountered: