john-json / sketchybar

10 stars 2 forks source link

Missing imports #4

Open Blakeinstein opened 2 months ago

Blakeinstein commented 2 months ago

helpers.lua is missing.

  1. Import in .sketchybarrc fails: stating no matching library.
  2. Signatures for colors_light and colors_dark do not match.
john-json commented 2 months ago

helpers.lua is missing.

  1. Import in .sketchybarrc fails: stating no matching library.

  2. Signatures for colors_light and colors_dark do not match.

I ignored them with purpose. Because if you install sketchybar first with the lua api you already have them and mine isn't changed :)

Blakeinstein commented 2 months ago

Interesting SBarLua didn't install helpers for me.

john-json commented 2 months ago

they must have, or you made something wrong I would guess

Blakeinstein commented 2 months ago

they must have, or you made something wrong I would guess

https://github.com/FelixKratz/SbarLua

Looking at the build scripts, the make script (the one used in setup instructions) produces only sketchybar.so.

Maybe an older version supported a helper library?

john-json commented 2 months ago

first install sketchybar from I guess brew install sketchybar and create the home folder mkdir ~/.config/sketchybar and then git clone https://github.com/FelixKratz/SbarLua.git /tmp/SbarLua && cd /tmp/SbarLua/ && make install && rm -rf /tmp/SbarLua/ and then restart your Mac or brew services reload sketchybar, I guess that should work, and I guess it could be good to Indtall lua as well

BrodyMacfarlane commented 2 months ago

Same issue here-- no helpers. Will try to remember to post an update here if I figure it out.

BrodyMacfarlane commented 2 months ago

Ahh, grabbed them from a fresh installation of Felix's dotfiles here.