aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/breaktimer.lua
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/breaktimer.lua')
-rw-r--r--widgets/breaktimer.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/breaktimer.lua b/widgets/breaktimer.lua
index e6487b8..6fed30e 100644
--- a/widgets/breaktimer.lua
+++ b/widgets/breaktimer.lua
@@ -43,7 +43,7 @@ function M.draw(cr, rect, colors)
-- Fluid type: the height budget grows the content to fill the cell, the
-- measured width fit pulls it back where the phase label would overrun.
local groups = {
- { { 'BREAKTIMER', card.FONT_MONO, LABEL_F },
+ { { card.title_str(card.ICON.breaktimer, 'BREAKTIMER'), card.FONT_MONO, LABEL_F },
{ bt.countdown, card.FONT_HEAVY, BIG_F } },
}
for _, r in ipairs(rows) do
@@ -60,8 +60,8 @@ function M.draw(cr, rect, colors)
card.text_right(cr, inner.x + inner.w, inner.y + S * BIG_F, bt.countdown)
card.font(cr, card.FONT_MONO, label_size, false)
- card.rgba(cr, colors.label)
- card.text(cr, inner.x, inner.y + label_size, 'BREAKTIMER')
+ card.title(cr, inner.x, inner.y + label_size, card.ICON.breaktimer,
+ 'BREAKTIMER', colors)
local ey = inner.y + S * BIG_F + row_size * 1.6
local step = row_size * 2.0