Use connect_for_each_screen instead of loop
This commit is contained in:
parent
3e6fc2e8d9
commit
f2021612a0
4
rc.lua
4
rc.lua
|
@ -28,7 +28,7 @@ tags.setup()
|
|||
|
||||
-- {{{ widgets
|
||||
widgets = require("widgets")
|
||||
for s in screen do
|
||||
awful.screen.connect_for_each_screen(function(s)
|
||||
widgets(s).left(
|
||||
{
|
||||
widgets.screennum(s),
|
||||
|
@ -50,7 +50,7 @@ for s in screen do
|
|||
},
|
||||
widgets.mail({ os.getenv("HOME") .. "/.maildir/uber" }, "bottom_right", "uber")
|
||||
)
|
||||
end
|
||||
end)
|
||||
-- }}}
|
||||
|
||||
audiowheel = require("audiowheel")-- { bg = "#ffff00aa" }
|
||||
|
|
Loading…
Reference in a new issue