diff options
author | Determinant <[email protected]> | 2024-08-29 18:49:51 -0700 |
---|---|---|
committer | Determinant <[email protected]> | 2024-08-29 18:49:51 -0700 |
commit | 78546930272e9ee02cf887cb37d3bbac6b6dd56d (patch) | |
tree | 2e8ccf104a5e279c83e5ec2cb29031628f4d7f71 | |
parent | f75ebccfce2f67d5a95f363e5040fdf5d182bedf (diff) |
...
-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"}%' |