diff --git a/spotiplayer_pi/main.py b/spotiplayer_pi/main.py index 45e56ce..e679920 100644 --- a/spotiplayer_pi/main.py +++ b/spotiplayer_pi/main.py @@ -28,7 +28,7 @@ def display_loop(api: Api, cfg: Dict): bg = Image.new("RGB", (d.height, d.width), (0, 0, 0)) d.ShowImage(bg) - Font0 = ImageFont.truetype("Font/GothamBold.ttf", 13) + Font0 = ImageFont.truetype("Font/GothamBold.ttf", 14) Font1 = ImageFont.truetype("Font/GothamMedium.ttf", 18) Font1b = ImageFont.truetype("Font/GothamBold.ttf", 19) Font2 = ImageFont.truetype("Font/GothamMedium.ttf", 20) @@ -165,10 +165,10 @@ def display_loop(api: Api, cfg: Dict): *divmod(data["duration_ms"] // 1000, 60) ) draw.rectangle( - [(238, 218), (320, 238)], fill=cfg["color_theme"]["background"] + [(237, 218), (320, 238)], fill=cfg["color_theme"]["background"] ) draw.text( - (240, 224), + (238, 223), f"{f_current_time}/{f_total_time}", font=Font0, fill=cfg["color_theme"]["text"],