diff --git a/src/awesomewm.d.tl/visitors/type_mapping.tl b/src/awesomewm.d.tl/visitors/type_mapping.tl index b3d8933..9c6e74a 100644 --- a/src/awesomewm.d.tl/visitors/type_mapping.tl +++ b/src/awesomewm.d.tl/visitors/type_mapping.tl @@ -4,8 +4,7 @@ local type Node = require("types.Node") local gears_shape_function = "function(cr: any, width: integer, height: integer)" local type_map : { string : string } = { - awesome = "awesome", - Awesome = "awesome", + awesome = "Awesome", bool = "boolean", client = "Client", ["gears.shape"] = gears_shape_function, @@ -16,8 +15,10 @@ local type_map : { string : string } = { shape = gears_shape_function, surface = "Surface", tag = "Tag", - ["wibox.widget"] = "Widget", - widget = "Widget", + widget = "wibox.widget", + + -- fixes we shouldn't have to do (We need to PR Awesome to fix the doc) + timer = "gears.timer", } local function get_type(t: string): string