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