Works with multiple screen

This commit is contained in:
Thomas Forgione 2024-06-22 13:14:38 +02:00
parent 2607923971
commit cded3e7d63
1 changed files with 4 additions and 4 deletions

8
rc.lua
View File

@ -262,8 +262,8 @@ awful.screen.connect_for_each_screen(function(s)
local wibar_width = s.geometry.width / 4
local wibar_height = 15
s.mywibox = wibox({
x = s.geometry.width - wibar_width,
y = s.geometry.height - wibar_height,
x = s.geometry.x + s.geometry.width - wibar_width,
y = s.geometry.y + s.geometry.height - wibar_height,
width = wibar_width,
height = wibar_height,
expand = true,
@ -296,8 +296,8 @@ awful.screen.connect_for_each_screen(function(s)
cpu_widget,
delimiter,
volume_widget,
delimiter2,
volume_bar_widget,
-- delimiter2,
-- volume_bar_widget,
delimiter,
battery_widget,
delimiter,