mirror of
https://github.com/elenapan/dotfiles.git
synced 2026-01-28 19:27:13 +08:00
fixed ephemeral bars being spawned multiple times on the same screen when using multiple screen setup
This commit is contained in:
parent
4b852e971c
commit
a146b497e9
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue