Hey @koekeishiya, @dominiklohmann, et al 馃憢
I'd really like to get started writing a stand alone bar for everyone to use along side yabai.
As expressed in various places, several times - for reasons I completely understand and agree with - it's clear the status bar is not a point of development focus.
I'm opening this issue in hopes that someone may be willing to help guide me on getting at least the current example status bar split out into its own codebase and building on its own.
I'm not familiar with C at all (but have always wanted to dabble, so this is a good chance), and so far my efforts are falling short.
Once the bar is split out, I'll be looking to introduce extensibility and other features.
Many thanks in advance for any help anyone is willing to give 馃檹
Ah! Excellent! Thanks @johnallen3d - I'll close this off then
I took a quick look at the referenced bar and it inherits a lot of structure from yabai that is unnecessary. This is simply my opinion, but I think it is better to start from scratch and use the code from yabai as a reference when needed. I also think it should be fairly sufficient to rely on the signal and query system for the information you need from yabai, at least this is what I would do.
Some rough outline as to what this process would look like; how I'd do it anyway:
src/bar.c bar_create for reference.src/yabai.c client_send_message for reference.src/bar.c bar_refresh for reference.The owner of spacebar, @somdoron, replied to me about his plan for this project. And he said he currently has not enough time to develop it further (like modularizing it). Ref: https://github.com/somdoron/spacebar/issues/5#issuecomment-615206497
Hope people who are familiar with macOS API and C could make contribution to it. :P
Most helpful comment
I took a quick look at the referenced bar and it inherits a lot of structure from yabai that is unnecessary. This is simply my opinion, but I think it is better to start from scratch and use the code from yabai as a reference when needed. I also think it should be fairly sufficient to rely on the signal and query system for the information you need from yabai, at least this is what I would do.
Some rough outline as to what this process would look like; how I'd do it anyway:
src/bar.c bar_createfor reference.src/yabai.c client_send_messagefor reference.src/bar.c bar_refreshfor reference.