From a4379577025e261fe3c3df17fcb9638d31a35909 Mon Sep 17 00:00:00 2001 From: Azalea Date: Thu, 1 Jun 2023 23:02:56 -0700 Subject: [PATCH] [O] Add every flag to display --- hyfetch/pride_month.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hyfetch/pride_month.py b/hyfetch/pride_month.py index b0bc5af2..99367a35 100644 --- a/hyfetch/pride_month.py +++ b/hyfetch/pride_month.py @@ -34,12 +34,12 @@ def start_animation(): text_start_x = w // 2 - text_width // 2 text_end_x = text_start_x + text_width - for i in range(blocks): - colors += PRESETS['rainbow'].colors - colors += PRESETS['transgender'].colors + # Add everything in PRESETS to colors + colors = [c for preset in PRESETS.values() for c in preset.colors] black = RGB(0, 0, 0) white = RGB(255, 255, 255) + gold = RGB.from_hex("#FFE09B") def draw_frame(): buf = "" @@ -48,7 +48,7 @@ def start_animation(): for y in range(h): # Print the starting color buf += colors[((frame + y) // block_width) % len(colors)].to_ansi_rgb(foreground=False) - buf += white.to_ansi_rgb(foreground=True) + buf += gold.to_ansi_rgb(foreground=True) # Loop over the width x = 0