diff --git a/config/awesome/noodle/day_of_the_week_and_month.lua b/config/awesome/noodle/day_of_the_week_and_month.lua index f1c4e37..6804184 100644 --- a/config/awesome/noodle/day_of_the_week_and_month.lua +++ b/config/awesome/noodle/day_of_the_week_and_month.lua @@ -145,11 +145,11 @@ local update_dotw = function () for i=1,7 do if index_today == i then dotw_containers[i].bg = x.color0 - dotw_separators[i].bg = dotw_colors[i] + dotw_separators[i].color = dotw_colors[i] dotw_month_day[i].markup = helpers.colorize_text(month_days[i], x.foreground) else dotw_containers[i].bg = "#00000000" - dotw_separators[i].bg = x.color0 + dotw_separators[i].color = x.color0 dotw_month_day[i].markup = helpers.colorize_text(month_days[i], x.color8) end end diff --git a/config/awesome/noodle/dotted_line.lua b/config/awesome/noodle/dotted_line.lua index cf9b9fb..0b3b305 100644 --- a/config/awesome/noodle/dotted_line.lua +++ b/config/awesome/noodle/dotted_line.lua @@ -44,8 +44,8 @@ dotted_line.new = function(dot_number, dot_size, dot_spacing, orientation) table.insert(dots, dot) line:add(dot, helpers.pad[orientation](dot_spacing / 2)) - -- This will allow to directly set bg like so `line.bg = some_color` - function line:set_bg(color) + -- This will allow to directly set bg like so `line.color = some_color` + function line:set_color(color) for index, dot in ipairs(dots) do dot.bg = color end