Closed xbunax closed 4 months ago
exact same problem here. just suddenly stopped working and i'm clueless i tried debugging: sbar.exec("pmset -g batt") -> empty result sbar.exec("echo test") -> expected result 'test'
exact same problem here. just suddenly stopped working and i'm clueless i tried debugging: sbar.exec("pmset -g batt") -> empty result sbar.exec("echo test") -> expected result 'test'
Do you find some problem ? I have no idea to fix this for now.😭
i guess it's related to the lua version update mentioned here: https://github.com/FelixKratz/SbarLua/issues/29
i will give it try
edit: sorry for the late response, but it works ¯_(ツ)_/¯
i guess it's related to the lua version update mentioned here: FelixKratz/SbarLua#29
i will give it try
I compile a lua5.4.4 but it's useless
When I use lua 5.4.7 and with your lua config , the battery info seems to be wrong.
So I recompile the lua with 5.4.4
and it works.
Maybe we can export it to luarocks rock spec with spec version of lua
i guess it's related to the lua version update mentioned here: FelixKratz/SbarLua#29 i will give it try
I compile a lua5.4.4 but it's useless
I fix this, thank you
This is my sketchybar config https://github.com/xbunax/dotfile/blob/main/sketchybar/items/widgets/battery.lua which modify FelixKratz's lua config.
This is my system info and app version