From 78546930272e9ee02cf887cb37d3bbac6b6dd56d Mon Sep 17 00:00:00 2001 From: Determinant Date: Thu, 29 Aug 2024 18:49:51 -0700 Subject: ... --- app.mjs | 2 +- profile.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app.mjs b/app.mjs index f4887bd..488951d 100755 --- a/app.mjs +++ b/app.mjs @@ -800,7 +800,7 @@ const renderBarGauge = (c, display, values) => { const label = getLabelText(display); // TODO: cache this const { font, color_fg } = getTextStyles({ - size: [12, 12, 12, 12], + size: display.size, color_fg: formatColors("color_fg", display, values, 4), }); diff --git a/profile.yaml b/profile.yaml index bff7ffd..6843f0e 100644 --- a/profile.yaml +++ b/profile.yaml @@ -60,6 +60,11 @@ - P - M - F + size: + - 12 + - 12 + - 12 + - 12 formatter: - '${$d[0] != null ? ($d[0] * 100).toFixed(0) : "X"}%' - '${$d[1] != null ? ($d[1] * 100).toFixed(0) : "X"}%' -- cgit v1.2.3-70-g09d2