diff --git a/the-saloon.yaml b/the-saloon.yaml index 0b6f4e8..f523d48 100644 --- a/the-saloon.yaml +++ b/the-saloon.yaml @@ -85,7 +85,8 @@ display: it.printf(10, 50, id(roboto), "%.1f%%", pct); } - it.printf(10, 105, id(roboto_big), "%s - %.0f", id(lights_str).state.c_str(), id(lights_on_count).state); + it.printf(10, 105, id(my_font), "%s", id(lights_str).state.c_str()); + it.printf(10, w - 20, id(my_font), "%.0f", id(lights_on_count).state); script: - id: update_brightness then: @@ -120,7 +121,13 @@ font: - file: "gfonts://Roboto" id: roboto_big size: 48 - glyphs: ["●", "○"] + - file: + type: gfonts + family: Roboto + weight: 400 + id: my_font + size: 24 + glyphs: ["●", "○"] # Data from Glances (same as before) http_request: timeout: 5s