Added for_each_screen module value
This commit is contained in:
@ -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)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user