FelixKratz / SbarLua

A Lua API for SketchyBar
GNU General Public License v3.0
155 stars 11 forks source link

Support multiple bars? #2

Closed johnallen3d closed 10 months ago

johnallen3d commented 10 months ago

I've managed to get something working by changing this line (and #75), compiling and copying to ~/.local/share/sketchybar_lua with a different name. This is obviously not an ideal solution but I'm not sure what is.

or

FelixKratz commented 10 months ago

I have added a new function where you can specify the bar name:

sbar.set_bar_name("bottom_bar")

which you can add to the example sketchybarrc right after requiring the module for example.

johnallen3d commented 10 months ago

Works like a charm, thanks @FelixKratz!