diff --git a/subwave_nowplaying.star b/subwave_nowplaying.star index 771518b..939d8d3 100644 --- a/subwave_nowplaying.star +++ b/subwave_nowplaying.star @@ -266,8 +266,16 @@ def main(config): render.Marquee(width = text_width, child = time_temp_text) ) + # terminus-16 is exactly double tb-8's height (8px -> 16px) -- also + # pixlet's own documented default font for 2x displays, so it's a + # natural "the title gets to be genuinely bigger, not just more + # pixels" choice for the one line this was asked for, rather than + # applying it everywhere (artist/show/time stay tb-8/tom-thumb, same + # as before). + title_font = "terminus-16" if scale == 2 else "tb-8" + top_lines = [ - render.Marquee(width = text_width, child = render.Text(now["title"], font = "tb-8", color = colors["text"])), + render.Marquee(width = text_width, child = render.Text(now["title"], font = title_font, color = colors["text"])), render.Marquee(width = text_width, child = render.Text(now["artist"], font = "tb-8", color = colors["text"])), render.Box(width = text_width, height = scale, color = colors["separator"]), render.Marquee(width = text_width, child = render.Row(children = show_host_row)), @@ -297,7 +305,7 @@ def main(config): cross_align = "center", expanded = True, children = [ - render.Marquee(width = canvas.width(), child = render.Text(now["title"], font = "tb-8", color = colors["text"])), + render.Marquee(width = canvas.width(), child = render.Text(now["title"], font = title_font, color = colors["text"])), render.Marquee(width = canvas.width(), child = render.Text(now["artist"], font = "tb-8", color = colors["text"])), ], )