Closed crates51 closed 1 month ago
Try adding these to your aerospace config (adjust if needed):
# See https://nikitabobko.github.io/AeroSpace/guide#exec-env-vars
[exec] # Again, you don't need to copy all config sections to your config.
inherit-env-vars = true # If you don't touch "exec" section,
[exec.env-vars] # it will fallback to "default-config.toml"
PATH = '/opt/homebrew/bin:/opt/homebrew/sbin:${PATH}'
just install lua : brew install lua
Thanks all for the help !
I fixed it by:
where is lua
(for me it ended up being /usr/local/bin
[exec.env-vars]
PATH = '/usr/local/bin:${PATH}'
after-startup-command = [
'exec-and-forget brew services restart sketchybar',
]
So i've switched recently to aerospace from yabai and i set inside aerospace to launch sketchybar at startup:
Sketchybar theoretically gets launched since i can see it inside htop processes but it doesn't appear. As you can see above, i logged the output, and i get:
the configs i have for Sketchybar are the ones i think you posted inside a github page for sharing configs; its a lua one.
I searched online for this error, and the only idea came to mind is to set LUA_PATH, so i did that:
Any clues why sketchybar cannot detect Lua at startup?