mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2026-08-18 11:14:01 +00:00
bars: fix fg_color not working with lua (#666)
This commit is contained in:
@ -143,6 +143,7 @@ int newLuaButton(lua_State* L) {
|
||||
if (err.errorCode != Config::Lua::PARSE_ERROR_OK)
|
||||
return Config::Lua::Bindings::Internal::configError(L, "add_button: failed to parse fg_color");
|
||||
|
||||
button.userfg = true;
|
||||
button.fgcol = parser.parsed();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user