|
|
@ -106,3 +106,43 @@ client.connect_signal("request::titlebars",function(c) |
|
|
|
}):setup(t.titlebar({widget = wibox.container.background})) |
|
|
|
end) |
|
|
|
--}}} |
|
|
|
|
|
|
|
--{{{ Screen |
|
|
|
awful.screen.connect_for_each_screen(function(s) |
|
|
|
-- Top bar |
|
|
|
s.topbar = awful.wibar({ |
|
|
|
position = "top", |
|
|
|
screen = s, |
|
|
|
visible = false |
|
|
|
}) |
|
|
|
s.topbar:setup { |
|
|
|
layout = wibox.layout.flex.horizontal |
|
|
|
} |
|
|
|
-- Bottom bar |
|
|
|
s.bottombar = awful.wibar({ |
|
|
|
position = "bottom", |
|
|
|
screen = s, |
|
|
|
visible = false |
|
|
|
}) |
|
|
|
s.bottombar:setup { |
|
|
|
layout = wibox.layout.flex.horizontal |
|
|
|
} |
|
|
|
-- Left bar |
|
|
|
s.leftbar = awful.wibar({ |
|
|
|
position = "left", |
|
|
|
screen = s, |
|
|
|
visible = false |
|
|
|
}) |
|
|
|
s.leftbar:setup { |
|
|
|
layout = wibox.layout.flex.horizontal |
|
|
|
} |
|
|
|
-- Right bar |
|
|
|
s.rightbar = awful.wibar({ |
|
|
|
position = "right", |
|
|
|
screen = s, |
|
|
|
visible = false |
|
|
|
}) |
|
|
|
s.rightbar:setup { |
|
|
|
layout = wibox.layout.flex.horizontal |
|
|
|
} |
|
|
|
end) |