diff --git a/config/awesome/elemental/dashboard/skyfall.lua b/config/awesome/elemental/dashboard/skyfall.lua index 0c8d4e0..7bb1d12 100644 --- a/config/awesome/elemental/dashboard/skyfall.lua +++ b/config/awesome/elemental/dashboard/skyfall.lua @@ -142,14 +142,10 @@ local hours = wibox.widget.textclock("%H ") hours.font = "sans bold 30" hours.align = "center" hours.valign = "center" -local minutes = wibox.widget.textclock(" %M") +local minutes = wibox.widget.textclock(" %M") minutes.font = "sans 30" minutes.align = "center" minutes.valign = "center" -minutes.markup = "" .. minutes.text .. "" -minutes:connect_signal("widget::redraw_needed", function () - minutes.markup = "" .. minutes.text .. "" -end) -- Time local time = wibox.widget { @@ -167,23 +163,13 @@ day_of_the_week.align = "center" day_of_the_week.valign = "center" day_of_the_week.align = "center" day_of_the_week.valign = "center" --- day_of_the_week.markup = "" .. day_of_the_week.text .. "" --- day_of_the_week:connect_signal("widget::redraw_needed", function () --- day_of_the_week.markup = "" .. day_of_the_week.text .. "" --- end) -local day_of_the_month = wibox.widget.textclock("%d") + +local day_of_the_month = wibox.widget.textclock("%d") day_of_the_month.font = "sans bold 30" day_of_the_month.fg = x.color0 day_of_the_month.align = "center" day_of_the_month.valign = "center" -day_of_the_month.align = "center" -day_of_the_month.valign = "center" -day_of_the_month.markup = "" .. day_of_the_month.text .. "" -day_of_the_month:connect_signal("widget::redraw_needed", function () - day_of_the_month.markup = "" .. day_of_the_month.text .. "" -end) - local date = wibox.widget { day_of_the_week, day_of_the_month, diff --git a/config/awesome/elemental/lock_screen/lock_screen.lua b/config/awesome/elemental/lock_screen/lock_screen.lua index f1f36ae..bfe9fa6 100644 --- a/config/awesome/elemental/lock_screen/lock_screen.lua +++ b/config/awesome/elemental/lock_screen/lock_screen.lua @@ -62,17 +62,9 @@ local day_of_the_week = wibox.widget { forced_width = dpi(1000), align = "center", valign = "center", - widget = wibox.widget.textclock("%A") + widget = wibox.widget.textclock(helpers.colorize_text("%A", x.color3)) } -local function update_dotw() - day_of_the_week.markup = helpers.colorize_text(day_of_the_week.text, x.color3) -end -update_dotw() -day_of_the_week:connect_signal("widget::redraw_needed", function () - update_dotw() -end) - local month = wibox.widget { font = "San Francisco Display Heavy 100", align = "center",