Added for_each_screen module value

This commit is contained in:
2022-11-05 08:08:15 -07:00
parent 765c4232a8
commit b70603504e
3 changed files with 29 additions and 31 deletions

View File

@ -92,9 +92,15 @@ local function start()
-- Prepare screens
awful.screen.connect_for_each_screen(
function(s)
-- s: the screen this function is being called for
-- Create tag table
-- Run module screen initialization methods
for _, mod in pairs(modules) do
if (mod["for_each_screen"] ~= nil) then
mod["for_each_screen"](s)
end
end
-- Create tag table
s.tagger = tagger:new(s)