FelixKratz / SketchyBar

A highly customizable macOS status bar replacement
https://felixkratz.github.io/SketchyBar/
GNU General Public License v3.0
5.62k stars 86 forks source link

ER: Support for associating a bar with a particular display #354

Closed peterhajas closed 1 year ago

peterhajas commented 1 year ago

It would be great to associate a bar with a particular display, rather than having a bar that's either on the main display or all displays. This could be done by display ID, or index. yabai supports addressing displays by their "arrangement index", which may be a good model to follow.

(this was part of #353, but was asked to be pulled out into its own issue).

FelixKratz commented 1 year ago

I will add the same display selectors as for the associated_display option for items.

I.e. a comma separated list of display ids, main and all.

FelixKratz commented 1 year ago

Should be working now, e.g.:

sketchybar --bar display=2,3,5,7,11,13

Please report any bugs you come across with this new implementation.

peterhajas commented 1 year ago

This is working great. I can use the display index to target the bar to a different display. Thanks, Felix.