diff --git a/src/awesomewmdtl/visitors/node_fixer.tl b/src/awesomewmdtl/visitors/node_fixer.tl index 4a4573a..e1b0791 100644 --- a/src/awesomewmdtl/visitors/node_fixer.tl +++ b/src/awesomewmdtl/visitors/node_fixer.tl @@ -35,6 +35,14 @@ local node_fixer : { string : New_Node_By_Name } = { }, }, }, + ["naughty.widget.background"] = { + set_shape = { + parameters = { + { token = "variable", name = "self", types = { "Background" } }, + { token = "variable", name = "shape", types = { "Gears_Shape_Function" } }, -- cannot discriminate a union between multiple function types: Gears_Shape_Function | function + }, + }, + }, } local record Node_Fixer