diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-17 13:05:39 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-17 13:05:39 +0200 |
| commit | 43ff74df86e4c58818fd388ea72475cda66ebcaf (patch) | |
| tree | 7b3c6938be2ba61b417f121b8e1f5c3e464a7f32 /widgets/gpu.lua | |
| parent | ad40e5c153fa2ccd9162bc970eabd5a11db11a32 (diff) | |
| download | conky-theme-udt-43ff74df86e4c58818fd388ea72475cda66ebcaf.tar.gz conky-theme-udt-43ff74df86e4c58818fd388ea72475cda66ebcaf.zip | |
fix: sit the gpu and cache titles level with the big value
The 'GPU' and 'CACHE' labels shared the big number's baseline, so they
read as sitting under it. Move them to the card's top-left, the same
title position the other cards use, level with the top of the value.
Diffstat (limited to 'widgets/gpu.lua')
| -rw-r--r-- | widgets/gpu.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/gpu.lua b/widgets/gpu.lua index 7933e3b..cd6cc2f 100644 --- a/widgets/gpu.lua +++ b/widgets/gpu.lua @@ -60,7 +60,7 @@ function M.draw(cr, rect, colors) card.font(cr, card.FONT_MONO, label_size, false) card.rgba(cr, colors.label) - card.text(cr, inner.x, y + S, 'GPU') + card.text(cr, inner.x, y + label_size, 'GPU') card.rgba(cr, colors.value) card.text(cr, inner.x, y + S + label_size * 1.7, 'ARC B580') |
