FelixKratz / SketchyBar

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

Setup extra bars to autostart #591

Closed jbriales closed 3 months ago

jbriales commented 3 months ago

I'm following the instructions in https://felixkratz.github.io/SketchyBar/config/tricks#multiple-bars to add an additional sketchybar. Running it from terminal works fine. I wonder how to run that second bar automatically at startup too, since the instructions in https://felixkratz.github.io/SketchyBar/setup#brew-install indicate: brew services start sketchybar but doing sth like brew services start sketchybar2 will fail.

FelixKratz commented 3 months ago

There are several ways. You could start the addtitional bar from the main sketchybarrc or you could create a separate launchd plist file for the secondary bar.

weeebdev commented 2 months ago

There are several ways. You could start the addtitional bar from the main sketchybarrc or you could create a separate launchd plist file for the secondary bar.

how do I do that when using SbarLua? sketchybarrc is a lua code in this case.