Define modules init.d.tl file #61

Closed
opened 2022-12-21 23:30:58 +01:00 by Aire-One · 0 comments
Owner

We should be able to require a top level module.

local gears = require("gears") -- module not found: 'gears'

For that, we need to generate init.d.tl files to define a table that requires the submodules:

-- gears/init.d.tl
return {
   timer = require("gears.timer"),
   -- ...
}
We should be able to `require` a top level module. ``` local gears = require("gears") -- module not found: 'gears' ``` For that, we need to generate `init.d.tl` files to define a table that requires the submodules: ``` -- gears/init.d.tl return { timer = require("gears.timer"), -- ... } ```
Aire-One added this to the v1.0 milestone 2022-12-21 23:30:58 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Aire-One/awesomewm.d.tl#61
No description provided.