From a146b497e98cbc0e20178b9212b4d5f48db0ef12 Mon Sep 17 00:00:00 2001 From: elenapan Date: Tue, 6 Aug 2019 12:37:21 +0300 Subject: [PATCH] fixed ephemeral bars being spawned multiple times on the same screen when using multiple screen setup --- config/awesome/bars/ephemeral.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/awesome/bars/ephemeral.lua b/config/awesome/bars/ephemeral.lua index 2a77261..c34ae6a 100644 --- a/config/awesome/bars/ephemeral.lua +++ b/config/awesome/bars/ephemeral.lua @@ -266,7 +266,7 @@ awful.screen.connect_for_each_screen(function(s) -- Create the wibox - s.mywibox = awful.wibar({visible = true, ontop = true, type = "dock", position = "bottom"}) + s.mywibox = awful.wibar({screen = s, visible = true, ontop = true, type = "dock", position = "bottom"}) s.mywibox.height = beautiful.wibar_height -- s.mywibox.width = beautiful.wibar_width @@ -293,7 +293,7 @@ awful.screen.connect_for_each_screen(function(s) -- Create the top bar - s.mytopwibox = awful.wibar({visible = true, ontop = false, type = "dock", position = "top", height = dpi(5)}) + s.mytopwibox = awful.wibar({screen = s, visible = true, ontop = false, type = "dock", position = "top", height = dpi(5)}) -- Bar placement awful.placement.maximize_horizontally(s.mytopwibox) s.mytopwibox.bg = "#00000000"