From 8a97241c675a5174a388a482db5aab21d010144c Mon Sep 17 00:00:00 2001 From: Aire-One Date: Sun, 25 Feb 2024 19:32:16 +0100 Subject: [PATCH] chore: add more types fixes --- src/awesomewmdtl/visitors/type_mapping.tl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/awesomewmdtl/visitors/type_mapping.tl b/src/awesomewmdtl/visitors/type_mapping.tl index 7c88e5b..260c2f0 100644 --- a/src/awesomewmdtl/visitors/type_mapping.tl +++ b/src/awesomewmdtl/visitors/type_mapping.tl @@ -15,8 +15,10 @@ local type_map : { string : string } = { image = "Image", int = "integer", Integer = "integer", + keygrabber = "Keygrabber", layout = "Layout", ["lgi.Pango.FontDescription"] = "any", -- We'll probably never have better support for this one, since it's a GI bindings + matrix = "Matrix", ["naughty.notification_closed_reason"] = "number", -- Teal doesn't support numeric enums ["Pango.FontDescription"] = "any", -- We'll probably never have better support for this one, since it's a GI bindings placement = "Awful_Placement_Function", @@ -39,6 +41,7 @@ local type_map : { string : string } = { ["gears.opacity"] = "number", -- error in the naughty.notification doc ["gears.margin"] = "number", -- error in the naughty.notification doc gradient = "string", -- doesn't exist + ["N/A"] = "any", -- we shouldn't have to do this, what `N/A` supposed to mean? pattern = "string", -- doesn't exist raw_curface = "Cairo_Surface", -- typo shap = "Gears_Shape_Function", -- typo