diff options
-rwxr-xr-x | app.mjs | 2 | ||||
-rw-r--r-- | profile.yaml | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -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"}%' |