-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
ER: Support for multiple bars #353
Comments
I think it is definitely possible to do this within the scope of this project. From the technical aspect this is some work, but the difficulty is fairly easy. The hard part is to work out a syntax that is easy and intuitive to use. Once I have time to rework the popup system (which will bring most of the refactoring needed for this feature as well) I will think about this some more. If there are ideas for a full syntax (adding bars, removing bars, targeting bars) let me know. The hackiest way to achieve this today is to have two or more distinct sketchybar binaries (with different binary names, bootstrap names, lock-files and sketchybarrc files) that operate completely independent of each other. Another way to achieve this today is with popups, but it is not as flexible. |
Ok, so I have pondered with this idea for the last half an hour and have come up with something that is actually quite usable I think (ff96bd7). The binary name of sketchybar can now be used as an identifier for multiple bars. I.e. if you install from HEAD ( ln -s /opt/homebrew/bin/sketchybar /opt/homebrew/bin/bottom_bar and then run |
Thanks, @FelixKratz. This looks like a good way to explore multiple bars. After copying my config and renaming the names of all my existing For syntax, I wonder if leaning on the existing
One thing that's missing with this approach (or the symlinked copy of |
Lets track the display options separately, it shouldnt be a problem to add more powerful display selectors. |
SketchyBar allows for multiple bar by symlinking to `sketchybar` and running a second process (eg. `bottombar`). In order for the helper to find the `mach` port for the targeted bar we need to provide the bar processes name. FelixKratz/SketchyBar#353 (comment) FelixKratz/SketchyBarHelper#2
SketchyBar allows for multiple bar by symlinking to `sketchybar` and running a second process (eg. `bottombar`). In order for the helper to find the `mach` port for the targeted bar we need to provide the bar processes name. FelixKratz/SketchyBar#353 (comment) FelixKratz/SketchyBarHelper#2
I didn't find a prior issue or documentation about this.
It'd be great if Sketchybar supported multiple named bars. For example:
This could likely be extended to the current syntax by naming the bar (where the default is
--bar
). For example:The text was updated successfully, but these errors were encountered: